Remove pointer warp from test boilerplate
Patch status: merged
Patch by Tony Crisci
Long description:
Remove the line to warp the pointer to (0, 0) in `new-test` helper script, which is used to create new tests. Since 4.6-g0634766, testcases may assume at the start of the test that the pointer begins at position (0, 0).
To apply this patch, use:
curl http://cr.i3wm.org/patch/344/raw.patch | git am
b/testcases/new-test
18 |
@@ -83,10 +83,6 @@ if ($multi_monitor) { |
19 |
print $fh <<'EOF'; |
20 |
use i3test i3_autostart => 0; |
21 |
|
22 |
-# Ensure the pointer is at (0, 0) so that we really start on the first |
23 |
-# (the left) workspace. |
24 |
-$x->root->warp_pointer(0, 0); |
25 |
- |
26 |
my $config = <<EOT; |
27 |
# i3 config file (v4) |
28 |
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 |