]> git.eshelyaron.com Git - emacs.git/commitdiff
(EmacsFrameRealize): Remove SubstructureRedirectMask.
authorGerd Moellmann <gerd@gnu.org>
Thu, 22 Jun 2000 20:12:59 +0000 (20:12 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 22 Jun 2000 20:12:59 +0000 (20:12 +0000)
src/ChangeLog
src/widget.c

index 1f925dac136734caa2e737ac30b53276d37cdf51..092c58cb58be255b78e80d2f7f1a77311fa2c1df 100644 (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.
index 70a84aad2e15ed5f081d8a3ab0c1324ba3e5f858..a96aad7f8eb3486b3cdb27e5b2b31f27bdf0e44d 100644 (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);