From: Gerd Moellmann Date: Thu, 22 Jun 2000 20:12:59 +0000 (+0000) Subject: (EmacsFrameRealize): Remove SubstructureRedirectMask. X-Git-Tag: emacs-pretest-21.0.90~3136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=486a103debe2cc46a290143e2537bc3881a384aa;p=emacs.git (EmacsFrameRealize): Remove SubstructureRedirectMask. --- 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);