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); } }