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:
parent
b84ca43bc6
commit
f32cba6bd8
|
@ -105,8 +105,7 @@ scan(void)
|
||||||
state = window_getstate(wins[i]);
|
state = window_getstate(wins[i]);
|
||||||
|
|
||||||
if(!attr_r || attr_r->override_redirect
|
if(!attr_r || attr_r->override_redirect
|
||||||
|| attr_r->map_state != XCB_MAP_STATE_VIEWABLE
|
|| attr_r->map_state == XCB_MAP_STATE_UNVIEWABLE)
|
||||||
|| state == XCB_WM_WITHDRAWN_STATE)
|
|
||||||
{
|
{
|
||||||
p_delete(&attr_r);
|
p_delete(&attr_r);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue