client: fix windows managed on startup

We need to not take the UNVIEWABLE, but everything else should be
managed.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-11 14:57:15 +02:00
parent b84ca43bc6
commit f32cba6bd8
1 changed files with 1 additions and 2 deletions

View File

@ -105,8 +105,7 @@ scan(void)
state = window_getstate(wins[i]);
if(!attr_r || attr_r->override_redirect
|| attr_r->map_state != XCB_MAP_STATE_VIEWABLE
|| state == XCB_WM_WITHDRAWN_STATE)
|| attr_r->map_state == XCB_MAP_STATE_UNVIEWABLE)
{
p_delete(&attr_r);
continue;