]> git.sur5r.net Git - i3/i3/blob - testcases/t/182-regress-focus-dock.t
Merge branch 'master' into next
[i3/i3] / testcases / t / 182-regress-focus-dock.t
1 #!perl
2 # vim:ts=4:sw=4:expandtab
3 #
4 # Regression test: Focusing a dock window should just do nothing, not crash i3.
5 # See ticket http://bugs.i3wm.org/575
6 # Wrong behaviour manifested itself up to (including) commit
7 # 340592a532b5259c3a3f575de5a9639fad4d1459
8 #
9 use i3test;
10
11 fresh_workspace;
12
13 my $window = open_window(
14     window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'),
15 );
16
17 cmd '[title="' . $window->name . '"] focus';
18
19 does_i3_live;
20
21 done_testing;