diff src/widget.c @ 15044:8704666feefd

(EmacsFrameRealize): Use STANDARD_EVENT_SET.
author Richard M. Stallman <rms@gnu.org>
date Thu, 18 Apr 1996 04:13:19 +0000
parents b906d04998c8
children 10d82268090b
line wrap: on
line diff
--- a/src/widget.c	Thu Apr 18 04:12:43 1996 +0000
+++ b/src/widget.c	Thu Apr 18 04:13:19 1996 +0000
@@ -732,13 +732,8 @@
 {
   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);