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:
parent
db6de84d0b
commit
ea2aba4319
|
@ -12,10 +12,9 @@ use List::Util qw(sum);
|
||||||
my $tmp = fresh_workspace;
|
my $tmp = fresh_workspace;
|
||||||
|
|
||||||
cmd 'exec /usr/bin/urxvt';
|
cmd 'exec /usr/bin/urxvt';
|
||||||
wait_for_map $x;
|
sleep 0.5;
|
||||||
cmd 'exec /usr/bin/urxvt';
|
cmd 'exec /usr/bin/urxvt';
|
||||||
wait_for_map $x;
|
sleep 0.5;
|
||||||
|
|
||||||
my ($nodes, $focus) = get_ws_content($tmp);
|
my ($nodes, $focus) = get_ws_content($tmp);
|
||||||
my $old_sum = sum map { $_->{rect}->{width} } @{$nodes};
|
my $old_sum = sum map { $_->{rect}->{width} } @{$nodes};
|
||||||
#cmd 'open';
|
#cmd 'open';
|
||||||
|
@ -23,13 +22,12 @@ cmd 'resize grow left 10 px or 25 ppt';
|
||||||
cmd 'split v';
|
cmd 'split v';
|
||||||
#cmd 'open';
|
#cmd 'open';
|
||||||
cmd 'exec /usr/bin/urxvt';
|
cmd 'exec /usr/bin/urxvt';
|
||||||
wait_for_map $x;
|
sleep 0.5;
|
||||||
|
|
||||||
cmd 'mode toggle';
|
cmd 'mode toggle';
|
||||||
sync_with_i3 $x;
|
sleep 0.5;
|
||||||
|
|
||||||
cmd 'kill';
|
cmd 'kill';
|
||||||
wait_for_unmap $x;
|
|
||||||
|
sleep 0.5;
|
||||||
|
|
||||||
($nodes, $focus) = get_ws_content($tmp);
|
($nodes, $focus) = get_ws_content($tmp);
|
||||||
my $new_sum = sum map { $_->{rect}->{width} } @{$nodes};
|
my $new_sum = sum map { $_->{rect}->{width} } @{$nodes};
|
||||||
|
|
Loading…
Reference in New Issue