Mercurial > sdl-ios-xcode
changeset 4554:4deaba8b1b42 SDL-1.2
Fixed bug 1015
Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 18 Jul 2010 11:37:12 -0700 |
parents | a1af511bbbdd |
children | 4aa31b9207f2 |
files | src/video/x11/SDL_x11video.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c Sun Jul 18 11:24:37 2010 -0700 +++ b/src/video/x11/SDL_x11video.c Sun Jul 18 11:37:12 2010 -0700 @@ -877,8 +877,7 @@ } /* 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); } } }