From 510d1f78a15909dfc14d62f92a84f1db0724238f Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 14 Nov 2010 16:42:13 +0100 Subject: [PATCH] modify t/04-floating.t to reflect the new way we are doing decorations --- testcases/t/04-floating.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;