comparison src/video/x11/SDL_x11window.c @ 4555:9e73d17638d3

Fixed bug 1015 Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 18 Jul 2010 11:37:26 -0700
parents f06faa886423
children 40c833d951a1
comparison
equal deleted inserted replaced
4552:116f05eb67c7 4555:9e73d17638d3
668 XDeleteProperty(display, w, WM_HINTS); 668 XDeleteProperty(display, w, WM_HINTS);
669 set = SDL_TRUE; 669 set = SDL_TRUE;
670 } 670 }
671 /* Finally unset the transient hints if necessary */ 671 /* Finally unset the transient hints if necessary */
672 if (!set) { 672 if (!set) {
673 /* NOTE: Does this work? */ 673 XDeleteProperty(display, w, XA_WM_TRANSIENT_FOR);
674 XSetTransientForHint(display, w, None);
675 } 674 }
676 } 675 }
677 676
678 /* Set the input hints so we get keyboard input */ 677 /* Set the input hints so we get keyboard input */
679 wmhints = XAllocWMHints(); 678 wmhints = XAllocWMHints();