]> git.sur5r.net Git - i3/i3/commitdiff
t/166-assign: wait until the window is definitely mapped
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 9 Apr 2012 12:48:25 +0000 (14:48 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 9 Apr 2012 12:48:25 +0000 (14:48 +0200)
testcases/t/166-assign.t

index 43338d558e0adf8f0393782d0e42c847f991a9b4..d79c1000e92b59110c2e406d63485071016ef102 100644 (file)
@@ -171,6 +171,7 @@ $workspaces = get_workspace_names;
 ok(!("targetws" ~~ @{$workspaces}), 'targetws does not exist yet');
 
 $window = open_special(wm_class => 'SPEcial');
+wait_for_map $window;
 
 $content = get_ws($tmp);
 ok(@{$content->{nodes}} == 0, 'no tiling cons');