2 # vim:ts=4:sw=4:expandtab
4 # Please read the following documents before working on tests:
5 # • https://build.i3wm.org/docs/testsuite.html
8 # • https://build.i3wm.org/docs/lib-i3test.html
9 # (alternatively: perldoc ./testcases/lib/i3test.pm)
11 # • https://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 # When using a command which moves a window to scratchpad from an invisible
18 # (e.g. unfocused) workspace and immediately shows that window again, i3
20 # Bug still in: 4.2-305-g22922a9
23 my $ws1 = fresh_workspace;
24 my $invisible_window = open_window;
25 my $other_focusable_window = open_window;
27 my $ws2 = fresh_workspace;
28 my $id = $invisible_window->id;
29 cmd qq|[id="$id"] move scratchpad, scratchpad show|;