mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
clients: manage client with _AWESOME_PROPERTIES
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
33c0d77193
commit
0903e21a1a
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue