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
14 my $first = get_focused($tmp);
16 # on a different ws, open a floating window
17 my $otmp = fresh_workspace;
20 my $float = get_focused($otmp);
24 # move the floating con to first workspace
25 cmd "move workspace $tmp";
28 # switch to the first ws and check focus
29 is(get_focused($tmp), $float, 'floating client correctly focused');