[Xfce4-commits] [xfce/xfwm4] 02/02: netwm: avoid spurious warning on restart
noreply at xfce.org
noreply at xfce.org
Tue Mar 21 09:59:38 CET 2017
This is an automated email from the git hooks/post-receive script.
olivier pushed a commit to branch master
in repository xfce/xfwm4.
commit 84ef731d4ccf167886d4d2ed0557ebf8882105d7
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Tue Mar 21 09:56:41 2017 +0100
netwm: avoid spurious warning on restart
NET_WM_STATE_FOCUS is set by the WM itself, it's not an unknown
property.
---
src/netwm.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/netwm.c b/src/netwm.c
index e8a0bda..7f48bea 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;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list