Mercurial > sdl-ios-xcode
changeset 4247:ee58103d5354 SDL-1.2
Fixed bug #586
Vincent Povirk 2009-09-26 16:58:32 PDT
patch for setting the input hint correctly
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 27 Sep 2009 01:31:30 +0000 |
parents | 8b8314cc34a6 |
children | a9c6e65c1416 |
files | src/video/x11/SDL_x11wm.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11wm.c Sat Sep 26 23:17:08 2009 +0000 +++ b/src/video/x11/SDL_x11wm.c Sun Sep 27 01:31:30 2009 +0000 @@ -224,9 +224,10 @@ /* Set the window icon to the icon pixmap (and icon window) */ wmhints = XAllocWMHints(); - wmhints->flags = (IconPixmapHint | IconMaskHint); + wmhints->flags = (IconPixmapHint | IconMaskHint | InputHint); wmhints->icon_pixmap = icon_pixmap; wmhints->icon_mask = mask_pixmap; + wmhints->input = True; if(icon_window != None) { wmhints->flags |= IconWindowHint; wmhints->icon_window = icon_window;