modify t/04-floating.t to reflect the new way we are doing decorations

This commit is contained in:
Michael Stapelberg 2010-11-14 16:42:13 +01:00
parent 945632ddcb
commit 510d1f78a1

View File

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