From 0903e21a1a3db9e3f80108859615f056bf22ab0d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 11 Aug 2008 15:10:54 +0200 Subject: [PATCH] clients: manage client with _AWESOME_PROPERTIES Signed-off-by: Julien Danjou --- awesome.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/awesome.c b/awesome.c index db003be52..52aff132c 100644 --- a/awesome.c +++ b/awesome.c @@ -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) {