Commit bfd7c46d authored by sfan5's avatar sfan5 Committed by Olivier Fourdan

events: Protect against error from XGetWMHints()

parent 38cef1a5
Pipeline #5201 passed with stages
in 2 minutes and 48 seconds
......@@ -1709,7 +1709,10 @@ handlePropertyNotify (DisplayInfo *display_info, XPropertyEvent * ev)
XFree (c->wmhints);
myDisplayErrorTrapPush (display_info);
c->wmhints = XGetWMHints (display_info->dpy, c->window);
myDisplayErrorTrapPopIgnored (display_info);
if (c->wmhints)
if (c->wmhints->flags & WindowGroupHint)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment