changeset 29861:09d316feea21

(EmacsFrameRealize): Remove SubstructureRedirectMask.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 22 Jun 2000 20:12:21 +0000
parents b07c21f61333
children 8d879723e361
files src/widget.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.c	Thu Jun 22 19:35:07 2000 +0000
+++ b/src/widget.c	Thu Jun 22 20:12:21 2000 +0000
@@ -731,8 +731,12 @@
 {
   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);