Mercurial > emacs
comparison src/widget.c @ 29861:09d316feea21
(EmacsFrameRealize): Remove SubstructureRedirectMask.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 22 Jun 2000 20:12:21 +0000 |
parents | cf4ab4e4be66 |
children | bd4f71c0f33b |
comparison
equal
deleted
inserted
replaced
29860:b07c21f61333 | 29861:09d316feea21 |
---|---|
729 XtValueMask *mask; | 729 XtValueMask *mask; |
730 XSetWindowAttributes *attrs; | 730 XSetWindowAttributes *attrs; |
731 { | 731 { |
732 EmacsFrame ew = (EmacsFrame)widget; | 732 EmacsFrame ew = (EmacsFrame)widget; |
733 | 733 |
734 attrs->event_mask = (STANDARD_EVENT_SET | PropertyChangeMask | 734 /* This used to contain SubstructureRedirectMask, but this turns out |
735 | SubstructureNotifyMask | SubstructureRedirectMask); | 735 to be a problem with XIM on Solaris, and events from that mask |
736 don't seem to be used. Let's check that. */); | |
737 attrs->event_mask = (STANDARD_EVENT_SET | |
738 | PropertyChangeMask | |
739 | SubstructureNotifyMask); | |
736 *mask |= CWEventMask; | 740 *mask |= CWEventMask; |
737 XtCreateWindow (widget, InputOutput, (Visual *)CopyFromParent, *mask, | 741 XtCreateWindow (widget, InputOutput, (Visual *)CopyFromParent, *mask, |
738 attrs); | 742 attrs); |
739 update_wm_hints (ew); | 743 update_wm_hints (ew); |
740 } | 744 } |