From 4eb171d972358ceed53faee37546e1ac4a9cc581 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 18 Jul 2010 11:37:26 -0700 Subject: [PATCH] Fixed bug 1015 Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead. --- src/video/x11/SDL_x11window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video/x11/SDL_x11window.c b/src/video/x11/SDL_x11window.c index 2718b3bb9..168b568d7 100644 --- a/src/video/x11/SDL_x11window.c +++ b/src/video/x11/SDL_x11window.c @@ -670,8 +670,7 @@ X11_CreateWindow(_THIS, SDL_Window * window) } /* Finally unset the transient hints if necessary */ if (!set) { - /* NOTE: Does this work? */ - XSetTransientForHint(display, w, None); + XDeleteProperty(display, w, XA_WM_TRANSIENT_FOR); } }