Fixed bug 1015

Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead.
This commit is contained in:
Sam Lantinga
2010-07-18 11:37:26 -07:00
parent d6cb212829
commit 4eb171d972

View File

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