2 # vim:ts=4:sw=4:expandtab
4 # Regression test: Changing border style should not have an impact on the size
5 # (geometry) of the child window. See ticket http://bugs.i3wm.org/561
6 # Wrong behaviour manifested itself up to (including) commit
7 # d805d1bbeaf89e11f67c981f94c9f55bbb4b89d9
14 my $win = open_floating_window(rect => [10, 10, 200, 100]);
16 my $geometry = $win->rect;
17 is($geometry->{width}, 200, 'width correct');
18 is($geometry->{height}, 100, 'height correct');
22 $geometry = $win->rect;
23 is($geometry->{width}, 200, 'width correct');
24 is($geometry->{height}, 100, 'height correct');