2 # vim:ts=4:sw=4:expandtab
3 # Regression test: Floating windows were not correctly unmapped when switching
4 # to a different workspace.
8 my $i3 = i3(get_socket_path());
10 my $tmp = fresh_workspace;
12 #############################################################################
13 # 1: open a floating window, get it mapped
14 #############################################################################
16 # Create a floating window which is smaller than the minimum enforced size of i3
17 my $window = open_floating_window;
18 ok($window->mapped, 'Window is mapped');
20 # switch to a different workspace, see if the window is still mapped?
22 my $otmp = fresh_workspace;
26 ok(!$window->mapped, 'Window is not mapped after switching ws');
28 cmd "nop testcase done";