]> git.sur5r.net Git - i3/i3/commitdiff
t/005-floating.t: fix potentional race condition
authorMaik Fischer <maikf@qu.cx>
Mon, 21 Nov 2011 23:42:26 +0000 (00:42 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 21 Nov 2011 23:51:01 +0000 (23:51 +0000)
testcases/t/005-floating.t

index d62a03666439452b01a32acfbaeb4fd1f41b8718..ac6623f2b383f8108b0a339170397bbab4208dd1 100644 (file)
@@ -76,8 +76,8 @@ $window->map;
 wait_for_map $window;
 
 cmd 'floating enable';
+sync_with_i3($x);
 
-# XXX potentionally racy
 ($absolute, $top) = $window->rect;
 
 cmp_ok($absolute->{width}, '==', 80, "i3 let the width at 80");