testcases: replace sleep with sync_with_i3 where appropiate

This commit is contained in:
Maik Fischer
2011-11-23 12:57:13 +01:00
committed by Michael Stapelberg
parent 33e9c29022
commit c2229b905a
6 changed files with 20 additions and 24 deletions

View File

@ -18,7 +18,7 @@ is_deeply($window->rect, $original_rect, "rect unmodified before mapping");
$window->map;
sleep(0.25);
sleep(0.5);
my $new_rect = $window->rect;
ok(!eq_hash($new_rect, $original_rect), "Window got repositioned");