summaryrefslogtreecommitdiff
path: root/src/widget.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-06-22 20:12:59 +0000
committerGerd Moellmann <gerd@gnu.org>2000-06-22 20:12:59 +0000
commit486a103debe2cc46a290143e2537bc3881a384aa (patch)
treefd9fe97d7f1999e35f4290961888bbce241c905e /src/widget.c
parent64f3a16632337bbfb91531cdd6d1fe137fb59f5c (diff)
downloademacs-486a103debe2cc46a290143e2537bc3881a384aa.tar.gz
(EmacsFrameRealize): Remove SubstructureRedirectMask.
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)
{
EmacsFrame ew = (EmacsFrame)widget;
- attrs->event_mask = (STANDARD_EVENT_SET | PropertyChangeMask
- | SubstructureNotifyMask | SubstructureRedirectMask);
+ /* This used to contain SubstructureRedirectMask, but this turns out
+ to be a problem with XIM on Solaris, and events from that mask
+ don't seem to be used. Let's check that. */);
+ attrs->event_mask = (STANDARD_EVENT_SET
+ | PropertyChangeMask
+ | SubstructureNotifyMask);
*mask |= CWEventMask;
XtCreateWindow (widget, InputOutput, (Visual *)CopyFromParent, *mask,
attrs);