(EmacsFrameRealize): Remove SubstructureRedirectMask.

This commit is contained in:
Gerd Moellmann 2000-06-22 20:12:59 +00:00
parent 64f3a16632
commit 486a103deb
2 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,7 @@
2000-06-22 Gerd Moellmann <gerd@gnu.org>
* 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.

View file

@ -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);