From: Michael Stapelberg Date: Thu, 2 Oct 2014 21:07:50 +0000 (+0200) Subject: t/114-client-leader: fix race by waiting until the window is mapped X-Git-Tag: 4.9~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3cf413492fffe3c831ef5cd1371734f74239dc4d;p=i3%2Fi3 t/114-client-leader: fix race by waiting until the window is mapped --- diff --git a/testcases/t/114-client-leader.t b/testcases/t/114-client-leader.t index 1efe34bf..ec8bff26 100644 --- a/testcases/t/114-client-leader.t +++ b/testcases/t/114-client-leader.t @@ -109,6 +109,8 @@ $fwindow = open_window({ dont_map => 1 }); $fwindow->transient_for($right); $fwindow->map; +wait_for_map($fwindow); + my $floating_con = get_ws($tmp)->{floating_nodes}[0]->{nodes}[0]; is($floating_con->{window_properties}->{transient_for}, $right->id, 'WM_TRANSIENT_FOR properly parsed');