From ea2aba4319c11b3417c88feb7080106c2ee58c74 Mon Sep 17 00:00:00 2001 From: Maik Fischer Date: Mon, 21 Nov 2011 23:39:58 +0100 Subject: [PATCH] testcases: undo 0f386a96 t/144-regress-floating-resize.t wait_for_map can't be used, since we don't set structure_notify on the urxvts windows --- testcases/t/144-regress-floating-resize.t | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/testcases/t/144-regress-floating-resize.t b/testcases/t/144-regress-floating-resize.t index fa1edda5..de33eeb3 100644 --- a/testcases/t/144-regress-floating-resize.t +++ b/testcases/t/144-regress-floating-resize.t @@ -12,10 +12,9 @@ use List::Util qw(sum); my $tmp = fresh_workspace; cmd 'exec /usr/bin/urxvt'; -wait_for_map $x; +sleep 0.5; cmd 'exec /usr/bin/urxvt'; -wait_for_map $x; - +sleep 0.5; my ($nodes, $focus) = get_ws_content($tmp); my $old_sum = sum map { $_->{rect}->{width} } @{$nodes}; #cmd 'open'; @@ -23,13 +22,12 @@ cmd 'resize grow left 10 px or 25 ppt'; cmd 'split v'; #cmd 'open'; cmd 'exec /usr/bin/urxvt'; -wait_for_map $x; - +sleep 0.5; cmd 'mode toggle'; -sync_with_i3 $x; - +sleep 0.5; cmd 'kill'; -wait_for_unmap $x; + +sleep 0.5; ($nodes, $focus) = get_ws_content($tmp); my $new_sum = sum map { $_->{rect}->{width} } @{$nodes}; -- 2.39.5