From: Michael Stapelberg Date: Sun, 14 Nov 2010 15:42:13 +0000 (+0100) Subject: modify t/04-floating.t to reflect the new way we are doing decorations X-Git-Tag: tree-pr1~105 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=510d1f78a15909dfc14d62f92a84f1db0724238f;p=i3%2Fi3 modify t/04-floating.t to reflect the new way we are doing decorations --- 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;