# HG changeset patch # User Sam Lantinga # Date 1279478246 25200 # Node ID 9e73d17638d31098c7c2caf02b7366664a82c729 # Parent 116f05eb67c7e158b9b1ed59ce57578534eb827d Fixed bug 1015 Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead. diff -r 116f05eb67c7 -r 9e73d17638d3 src/video/x11/SDL_x11window.c --- 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); } }