mirror of
https://github.com/yawut/SDL.git
synced 2026-08-25 02:05:07 -05:00
Fixed bug 1015
Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user