# HG changeset patch # User Sam Lantinga # Date 1279478232 25200 # Node ID 4deaba8b1b42efc6530112b400170bf831d195b1 # Parent a1af511bbbdd849c9c02ba2bcf930a0e5c203c37 Fixed bug 1015 Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead. diff -r a1af511bbbdd -r 4deaba8b1b42 src/video/x11/SDL_x11video.c --- 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); } } }