wait_for_map can't be used, since we don't set structure_notify
on the urxvts windows
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';
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};