diff src/widget.c @ 29861:09d316feea21

(EmacsFrameRealize): Remove SubstructureRedirectMask.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 22 Jun 2000 20:12:21 +0000
parents cf4ab4e4be66
children bd4f71c0f33b
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);