From 486a103debe2cc46a290143e2537bc3881a384aa Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 22 Jun 2000 20:12:59 +0000 Subject: [PATCH] (EmacsFrameRealize): Remove SubstructureRedirectMask. --- src/ChangeLog | 2 ++ src/widget.c | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1f925dac136..092c58cb58b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2000-06-22 Gerd Moellmann + * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask. + * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. (handle_invisible_prop): Record the start of invisible text in it->add_overlay_start. 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); -- 2.39.2