Skip to content
Snippets Groups Projects
Commit 84ef731d authored by Olivier Fourdan's avatar Olivier Fourdan :tools:
Browse files

netwm: avoid spurious warning on restart

NET_WM_STATE_FOCUS is set by the WM itself, it's not an unknown
property.
parent 087decc6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment