]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/234-ewmh-desktop-names.t
Merge pull request #2953 from CyberShadow/focus_wrapping
[i3/i3] / testcases / t / 234-ewmh-desktop-names.t
index 570e85288f744c89ec640ed4740b34251f7e8bbe..246a0a46ff0b06ca2c71744a122032ad4a87debb 100644 (file)
@@ -2,13 +2,13 @@
 # vim:ts=4:sw=4:expandtab
 #
 # Please read the following documents before working on tests:
-# • http://build.i3wm.org/docs/testsuite.html
+# • https://build.i3wm.org/docs/testsuite.html
 #   (or docs/testsuite)
 #
-# • http://build.i3wm.org/docs/lib-i3test.html
+# • https://build.i3wm.org/docs/lib-i3test.html
 #   (alternatively: perldoc ./testcases/lib/i3test.pm)
 #
-# • http://build.i3wm.org/docs/ipc.html
+# • https://build.i3wm.org/docs/ipc.html
 #   (or docs/ipc)
 #
 # • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
@@ -20,6 +20,9 @@
 use i3test;
 
 sub get_desktop_names {
+    # Make sure that i3 pushed its changes to X11 before querying.
+    sync_with_i3;
+
     my $cookie = $x->get_property(
         0,
         $x->get_root_window(),