From: Michael Stapelberg Date: Fri, 29 Jun 2012 21:21:32 +0000 (+0200) Subject: tests: t/504: ensure cursor position X-Git-Tag: 4.3~194 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a65394646cf24d679bd5c3d546db72e7cde6a65b;p=i3%2Fi3 tests: t/504: ensure cursor position Otherwise, the cursor might be at (1025, 0) due to previous testcases and we wouldn’t start up on the correct workspace. --- diff --git a/testcases/t/504-move-workspace-to-output.t b/testcases/t/504-move-workspace-to-output.t index 57e56943..8357e0da 100644 --- a/testcases/t/504-move-workspace-to-output.t +++ b/testcases/t/504-move-workspace-to-output.t @@ -9,6 +9,10 @@ use i3test i3_autostart => 0; # TODO: # introduce 'move workspace 3 to output ' with synonym 'move workspace 3 to ' +# Ensure the pointer is at (0, 0) so that we really start on the first +# (the left) workspace. +$x->root->warp_pointer(0, 0); + my $config = <