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

netwm: Fix window type for broken clients


Bug: 15399

If a client specifies an invalid NET_WM_WINDOW_TYPE, fallback to normal
window type.

Signed-off-by: default avatarOlivier Fourdan <fourdan@xfce.org>
parent 86c88ac7
No related branches found
Tags xfce-4.2beta1
No related merge requests found
......@@ -1346,7 +1346,7 @@ clientWindowType (Client * c)
else
{
TRACE ("no \"net\" atom detected");
c->type = UNSET;
c->type = WINDOW_NORMAL;
c->initial_layer = c->win_layer;
}
......
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