Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug 1015
Browse files Browse the repository at this point in the history
Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead.
  • Loading branch information
slouken committed Jul 18, 2010
1 parent 4f02bd7 commit f643575
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/video/x11/SDL_x11window.c
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit f643575

Please sign in to comment.