Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11window.c @ 4555:9e73d17638d3
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:26 -0700 |
parents | f06faa886423 |
children | 40c833d951a1 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11window.c Sun Jul 18 11:23:34 2010 -0700 +++ b/src/video/x11/SDL_x11window.c Sun Jul 18 11:37:26 2010 -0700 @@ -670,8 +670,7 @@ } /* Finally unset the transient hints if necessary */ if (!set) { - /* NOTE: Does this work? */ - XSetTransientForHint(display, w, None); + XDeleteProperty(display, w, XA_WM_TRANSIENT_FOR); } }