diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2017-03-21 09:56:41 +0100 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2017-03-21 09:58:09 +0100 |
commit | 84ef731d4ccf167886d4d2ed0557ebf8882105d7 (patch) | |
tree | 05cb65df78eaead90a6cd6fd05680aa7a5db1d89 /src | |
parent | 087decc60f7c8c94e0f9734bdb66d910b8aea59a (diff) | |
download | xfwm4-84ef731d4ccf167886d4d2ed0557ebf8882105d7.tar.gz |
netwm: avoid spurious warning on restart
NET_WM_STATE_FOCUS is set by the WM itself, it's not an unknown
property.
Diffstat (limited to 'src')
-rw-r--r-- | src/netwm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/netwm.c b/src/netwm.c index e8a0bda69..7f48beaf4 100644 --- a/src/netwm.c +++ b/src/netwm.c @@ -258,6 +258,10 @@ clientGetNetState (Client * c) TRACE ("clientGetNetState : demands_attention"); FLAG_SET (c->flags, CLIENT_FLAG_DEMANDS_ATTENTION); } + else if (atoms[i] == display_info->atoms[NET_WM_STATE_FOCUSED]) + { + TRACE ("clientGetNetState : focused, ignored..."); + } else { gchar *atom_name; |