2 # vim:ts=4:sw=4:expandtab
4 # Tests if WM_STATE is WM_STATE_NORMAL when mapped and WM_STATE_WITHDRAWN when
8 use X11::XCB qw(ICCCM_WM_STATE_NORMAL ICCCM_WM_STATE_WITHDRAWN);
10 my $window = open_window;
12 is($window->state, ICCCM_WM_STATE_NORMAL, 'WM_STATE normal');
16 wait_for_unmap $window;
18 is($window->state, ICCCM_WM_STATE_WITHDRAWN, 'WM_STATE withdrawn');