From: Michael Stapelberg Date: Wed, 26 Dec 2012 21:04:15 +0000 (+0100) Subject: t/173-regress-focus-assign: sync after mapping the window X-Git-Tag: 4.5~71 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c06d62887e48ad39d84e35d3f4a49fbe8b861f81;p=i3%2Fi3 t/173-regress-focus-assign: sync after mapping the window --- diff --git a/testcases/t/173-regress-focus-assign.t b/testcases/t/173-regress-focus-assign.t index f27ec0e4..aff3fe3a 100644 --- a/testcases/t/173-regress-focus-assign.t +++ b/testcases/t/173-regress-focus-assign.t @@ -73,6 +73,7 @@ ok(@{get_ws_content($tmp)} == 0, 'no containers yet'); ok(get_ws($tmp)->{focused}, 'current workspace focused'); my $window = open_special; +sync_with_i3; ok(@{get_ws_content($tmp)} == 0, 'special window not on current workspace'); ok(@{get_ws_content('targetws')} == 1, 'special window on targetws');