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.
This commit is contained in:
Michael Stapelberg 2012-06-29 23:21:32 +02:00
parent f0f45aa84d
commit a65394646c
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ use i3test i3_autostart => 0;
# TODO:
# introduce 'move workspace 3 to output <output>' with synonym 'move workspace 3 to <output>'
# 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 = <<EOT;
# i3 config file (v4)
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1