Skip to content

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 0953767 commit 53bf214
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/video/x11/SDL_x11video.c
Expand Up @@ -877,8 +877,7 @@ static void X11_SetSizeHints(_THIS, int w, int h, Uint32 flags)
}
/* 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);
}
}
}
Expand Down

0 comments on commit 53bf214

Please sign in to comment.