clients: manage client with _AWESOME_PROPERTIES

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-11 15:10:54 +02:00
parent 33c0d77193
commit 0903e21a1a
1 changed files with 5 additions and 0 deletions

View File

@ -98,13 +98,18 @@ scan(void)
for(i = 0; i < tree_c_len; i++)
{
bool has_awesome_prop;
attr_r = xcb_get_window_attributes_reply(globalconf.connection,
attr_wins[i],
NULL);
state = window_getstate(wins[i]);
has_awesome_prop = xutil_gettextprop(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)
{