mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Fixed bug 1015
Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead. --HG-- branch : SDL-1.2
This commit is contained in:
@@ -877,8 +877,7 @@ static void X11_SetSizeHints(_THIS, int w, int h, Uint32 flags)
|
||||
}
|
||||
/* Finally unset the transient hints if necessary */
|
||||
if ( ! set ) {
|
||||
/* NOTE: Does this work? */
|
||||
XSetTransientForHint(SDL_Display, WMwindow, None);
|
||||
XDeleteProperty(SDL_Display, WMwindow, XA_WM_TRANSIENT_FOR);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user