2 # vim:ts=4:sw=4:expandtab
6 my $original_rect = X11::XCB::Rect->new(x => 0, y => 0, width => 30, height => 30);
8 my $window = open_window(rect => $original_rect, dont_map => 1);
9 isa_ok($window, 'X11::XCB::Window');
11 is_deeply($window->rect, $original_rect, "rect unmodified before mapping");
16 my $new_rect = $window->rect;
17 ok(!eq_hash($new_rect, $original_rect), "Window got repositioned");