Commit a3eea44b authored by Harald Sitter's avatar Harald Sitter 🏡

move the sleep above final move

current theory: position changes happen so quickly that they don't
register? also makes no sense really.
actually the most likely problem is that something eats the events, but
there are no other mouse areas I think, only the one in the tabbar at the
bottom and that correctly covers the tabbar only
parent 41377423
......@@ -64,8 +64,8 @@ sub assert_shimmy_and_click {
bmwqemu::diag("clicking at $x/$y");
mouse_set($x, $y);
mouse_set($x-1, $y);
mouse_set($x+1, $y);
sleep 16; # Give a chance ot receive the movement events
mouse_set($x+1, $y);
if ($args{dclick}) {
mouse_dclick($args{button}, $args{clicktime});
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment