]> git.eshelyaron.com Git - emacs.git/commitdiff
(EmacsFrameRealize): Use STANDARD_EVENT_SET.
authorRichard M. Stallman <rms@gnu.org>
Thu, 18 Apr 1996 04:13:19 +0000 (04:13 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 18 Apr 1996 04:13:19 +0000 (04:13 +0000)
src/widget.c

index 23c5729f69bbaf73cd6c8d9a13b68c6a8cb09cf0..6358a067ed83930d0ea8d3c410b775850fb4579e 100644 (file)
@@ -732,13 +732,8 @@ EmacsFrameRealize (widget, mask, attrs)
 {
   EmacsFrame ew = (EmacsFrame)widget;
 
-  attrs->event_mask = (KeyPressMask | ExposureMask | ButtonPressMask |
-                      ButtonReleaseMask | StructureNotifyMask |
-                      FocusChangeMask | PointerMotionHintMask |
-                      PointerMotionMask | LeaveWindowMask | EnterWindowMask |
-                      VisibilityChangeMask | PropertyChangeMask |
-                      StructureNotifyMask | SubstructureNotifyMask |
-                      SubstructureRedirectMask);
+  attrs->event_mask = (STANDARD_EVENT_SET | PropertyChangeMask
+                      | SubstructureNotifyMask | SubstructureRedirectMask);
   *mask |= CWEventMask;
   XtCreateWindow (widget, InputOutput, (Visual *)CopyFromParent, *mask,
                  attrs);