update tests to test the output wrapping

This commit is contained in:
Francesco Mazzoli 2013-01-25 00:02:37 +01:00 committed by Michael Stapelberg
parent c300d216ec
commit 3cd4b8c111
1 changed files with 10 additions and 0 deletions

View File

@ -114,6 +114,16 @@ cmd 'move workspace to output left';
($x0, $x1) = workspaces_per_screen();
ok('5' ~~ @$x0, 'workspace 5 back on fake-0');
# Verify that wrapping works
cmd 'move workspace to output left';
($x0, $x1) = workspaces_per_screen();
ok('5' ~~ @$x1, 'workspace 5 on fake-1');
# Put workspace 5 where it should
cmd 'move workspace to output left';
($x0, $x1) = workspaces_per_screen();
ok('5' ~~ @$x0, 'workspace 5 on fake-0 again');
################################################################################
# Verify that coordinates of floating windows are fixed correctly when moving a
# workspace to a different output.