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