src/video/x11/SDL_x11video.c
branchSDL-1.2
changeset 4554 4deaba8b1b42
parent 4290 485868a1c283
child 5394 67d3be4ec9f2
--- 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);
 		}
 	}
 }