clients: fix manage on restart

We do not manage if they _don't_ have awesome prop.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-12 08:47:29 +02:00
parent 594308316a
commit d310605a64
1 changed files with 2 additions and 3 deletions

View File

@ -109,9 +109,8 @@ scan(void)
has_awesome_prop = xutil_text_prop_get(globalconf.connection, wins[1], _AWESOME_PROPERTIES, NULL, NULL);
if(!attr_r || attr_r->override_redirect
|| has_awesome_prop
|| attr_r->map_state != XCB_MAP_STATE_VIEWABLE
|| state == XCB_WM_WITHDRAWN_STATE)
|| (attr_r->map_state != XCB_MAP_STATE_VIEWABLE && !has_awesome_prop)
|| (state == XCB_WM_WITHDRAWN_STATE && !has_awesome_prop))
{
p_delete(&attr_r);
continue;