diff --git a/testcases/t/04-floating.t b/testcases/t/04-floating.t index d16fa8b7..de104f2f 100644 --- a/testcases/t/04-floating.t +++ b/testcases/t/04-floating.t @@ -54,8 +54,10 @@ sleep(0.25); cmp_ok($absolute->{width}, '==', 80, "i3 let the width at 80"); cmp_ok($absolute->{height}, '==', 90, "i3 let the height at 90"); +# We need to compare the position with decorations due to the way +# we do decoration rendering (on the parent frame) in the tree branch cmp_ok($top->{x}, '==', 1, 'i3 mapped it to x=1'); -cmp_ok($top->{y}, '==', 1, 'i3 mapped it to y=1'); +cmp_ok($top->{y}, '==', 18, 'i3 mapped it to y=18'); $window->unmap;