]> git.sur5r.net Git - i3/i3/blob - testcases/t/147-regress-floatingmove.t
testcases: let i3test.pm export $x, adapt testcases
[i3/i3] / testcases / t / 147-regress-floatingmove.t
1 #!perl
2 # vim:ts=4:sw=4:expandtab
3 #
4 # Regression test for moving a con outside of a floating con when there are no
5 # tiling cons on a workspace
6 #
7 use i3test;
8
9 my $tmp = fresh_workspace;
10
11 my $left = open_window($x);
12 my $mid = open_window($x);
13 my $right = open_window($x);
14
15 # go to workspace level
16 cmd 'level up';
17 sleep 0.25;
18
19 # make it floating
20 cmd 'mode toggle';
21 sleep 0.25;
22
23 # move the con outside the floating con
24 cmd 'move up';
25 sleep 0.25;
26
27 does_i3_live;
28
29 # move another con outside
30 cmd '[id="' . $mid->id . '"] focus';
31 cmd 'move up';
32 sleep 0.25;
33
34 does_i3_live;
35
36 done_testing;