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 # Moves the last window of a workspace to the scratchpad. The workspace will be
18 # cleaned up and previously, the subsequent focusing of a destroyed container
21 # Bug still in: 4.4-97-gf767ac3
24 my $tmp = fresh_workspace;
26 # Open a new window which we can identify later on based on its WM_CLASS.
27 my $scratch = open_window(wm_class => 'special');
29 my $tmp2 = fresh_workspace;
31 cmd '[class="special"] move scratchpad';