unflake t/291-swap.t (#3741)

This commit is contained in:
Michael Stapelberg 2019-07-19 21:10:40 +02:00 committed by GitHub
parent 8b88b0cb3e
commit 865f807976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ sub fullscreen_windows {
sub cmp_floating_rect { sub cmp_floating_rect {
my ($window, $rect, $prefix) = @_; my ($window, $rect, $prefix) = @_;
sync_with_i3;
my ($absolute, $top) = $window->rect; my ($absolute, $top) = $window->rect;
is($absolute->{width}, $rect->[2], "$prefix: width matches"); is($absolute->{width}, $rect->[2], "$prefix: width matches");