From a65394646cf24d679bd5c3d546db72e7cde6a65b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 29 Jun 2012 23:21:32 +0200 Subject: [PATCH] tests: t/504: ensure cursor position MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Otherwise, the cursor might be at (1025, 0) due to previous testcases and we wouldn’t start up on the correct workspace. --- testcases/t/504-move-workspace-to-output.t | 4 ++++ 1 file changed, 4 insertions(+) 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 = <