]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/521-ewmh-desktop-viewport.t
t/*ewmh*: fix flakiness by syncing
[i3/i3] / testcases / t / 521-ewmh-desktop-viewport.t
index 07034cdab6dd6389d1f08cb9ddffab6722c3e8f1..9e36090ca50d9b8b37c5e21e973ff75c9455dafc 100644 (file)
@@ -33,6 +33,9 @@ EOT
 my $pid = launch_with_config($config);
 
 sub get_desktop_viewport {
+    # Make sure that i3 pushed its changes to X11 before querying.
+    sync_with_i3;
+
     my $cookie = $x->get_property(
         0,
         $x->get_root_window(),