changeset 15044:8704666feefd

(EmacsFrameRealize): Use STANDARD_EVENT_SET.
author Richard M. Stallman <rms@gnu.org>
date Thu, 18 Apr 1996 04:13:19 +0000
parents a0716ac97a83
children 9b779a05115a
files src/widget.c
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
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);