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) ...@@ -670,8 +670,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)
} }
/* Finally unset the transient hints if necessary */ /* Finally unset the transient hints if necessary */
if (!set) { if (!set) {
/* NOTE: Does this work? */ XDeleteProperty(display, w, XA_WM_TRANSIENT_FOR);
XSetTransientForHint(display, w, None);
} }
} }
......
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