2 # vim:ts=4:sw=4:expandtab
4 # Please read the following documents before working on tests:
5 # • http://build.i3wm.org/docs/testsuite.html
8 # • http://build.i3wm.org/docs/lib-i3test.html
9 # (alternatively: perldoc ./testcases/lib/i3test.pm)
11 # • http://build.i3wm.org/docs/ipc.html
14 # • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
15 # (unless you are already familiar with Perl)
17 # Regression test for moving a con outside of a floating con when there are no
18 # tiling cons on a workspace
27 my $tmp = fresh_workspace;
29 my $left = open_window;
30 my $mid = open_window;
31 my $right = open_window;
33 # go to workspace level
34 sync_cmd 'focus parent';
37 sync_cmd 'mode toggle';
39 # move the con outside the floating con
44 # move another con outside
45 sync_cmd '[id="' . $mid->id . '"] focus';