2 # vim:ts=4:sw=4:expandtab
4 # Regression test for correct focus behaviour when moving a floating con to
9 my $tmp = fresh_workspace;
11 # open a tiling window on the first workspace
13 my $first = get_focused($tmp);
15 # on a different ws, open a floating window
16 my $otmp = fresh_workspace;
18 my $float = get_focused($otmp);
22 # move the floating con to first workspace
23 cmd "move workspace $tmp";
26 # switch to the first ws and check focus
27 is(get_focused($tmp), $float, 'floating client correctly focused');