Commit e0676bd4 authored by Sam Lantinga's avatar Sam Lantinga

Fixed bug 1015

Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead.
parent 21760bc6
......@@ -670,8 +670,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)
}
/* Finally unset the transient hints if necessary */
if (!set) {
/* NOTE: Does this work? */
XSetTransientForHint(display, w, None);
XDeleteProperty(display, w, XA_WM_TRANSIENT_FOR);
}
}
......
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