aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c
index 70a84aad2e1..a96aad7f8eb 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -731,8 +731,12 @@ EmacsFrameRealize (widget, mask, 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);