Bugfix: Do not move focus if a container is moved across outputs

fixes #809

This makes the moving behavior more consistent. If you want to focus the
workspace you are moving to, just chain the keybinding in your config
file:

    bindsym $mod+Shift+1 move workspace 1; workspace 1
This commit is contained in:
Sebastian Rachuj
2013-02-09 20:23:01 +01:00
committed by Michael Stapelberg
parent d36e2a70bf
commit b565bfca13
4 changed files with 14 additions and 62 deletions

View File

@ -41,6 +41,7 @@ my $win = open_window;
is_num_children($left, 1, 'one container on left workspace');
cmd 'move container to output right';
cmd 'focus output right';
is_num_children($left, 0, 'no containers on left workspace');
is_num_children($right, 1, 'one container on right workspace');