testcases: don't sync_with_i3() before $x->input_focus

since input_focus calls it anyways
This commit is contained in:
Maik Fischer
2011-11-22 01:27:08 +01:00
committed by Michael Stapelberg
parent 0702f1fb7b
commit 3a9d94bba4
11 changed files with 0 additions and 51 deletions

View File

@ -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');