summaryrefslogtreecommitdiff
path: root/src/netwm.c
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan@xfce.org>2017-03-21 09:56:41 +0100
committerOlivier Fourdan <fourdan@xfce.org>2017-03-21 09:58:09 +0100
commit84ef731d4ccf167886d4d2ed0557ebf8882105d7 (patch)
tree05cb65df78eaead90a6cd6fd05680aa7a5db1d89 /src/netwm.c
parent087decc60f7c8c94e0f9734bdb66d910b8aea59a (diff)
downloadxfwm4-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/netwm.c')
-rw-r--r--src/netwm.c4
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;