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:
parent
54b35e5565
commit
c1daff96e0
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue