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
This commit is contained in:
Maik Fischer 2011-11-21 23:39:58 +01:00 committed by Michael Stapelberg
parent db6de84d0b
commit ea2aba4319
1 changed files with 6 additions and 8 deletions

View File

@ -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};