diff --git a/awesome.c b/awesome.c index 2412f17a..b2657a15 100644 --- a/awesome.c +++ b/awesome.c @@ -159,7 +159,7 @@ scan(void) state = xwindow_get_state_reply(state_wins[i]); if(!attr_r || attr_r->override_redirect - || attr_r->map_state == XCB_MAP_STATE_UNVIEWABLE + || attr_r->map_state == XCB_MAP_STATE_UNMAPPED || state == XCB_WM_STATE_WITHDRAWN) { geom_wins[i] = NULL;