testcases: don't sync_with_i3() before $x->input_focus
since input_focus calls it anyways
This commit is contained in:
committed by
Michael Stapelberg
parent
0702f1fb7b
commit
3a9d94bba4
@ -26,8 +26,6 @@ ok(@{get_ws_content($tmp)} == 0, 'no containers yet');
|
||||
my $first = open_window;
|
||||
my $second = open_window;
|
||||
|
||||
sync_with_i3;
|
||||
|
||||
is($x->input_focus, $second->id, 'second window focused');
|
||||
my @content = @{get_ws_content($tmp)};
|
||||
ok(@content == 2, 'two containers opened');
|
||||
@ -56,8 +54,6 @@ ok(@{get_ws_content($tmp)} == 0, 'no containers yet');
|
||||
$first = open_window;
|
||||
$second = open_window;
|
||||
|
||||
sync_with_i3;
|
||||
|
||||
is($x->input_focus, $second->id, 'second window focused');
|
||||
@content = @{get_ws_content($tmp)};
|
||||
ok(@content == 1, 'one con at workspace level');
|
||||
|
Reference in New Issue
Block a user