From 1976080b3b9f2578d9df4d1e9c83ac5821ccdd16 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 18 Apr 1996 04:13:19 +0000 Subject: [PATCH] (EmacsFrameRealize): Use STANDARD_EVENT_SET. --- src/widget.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/widget.c b/src/widget.c index 23c5729f69b..6358a067ed8 100644 --- a/src/widget.c +++ b/src/widget.c @@ -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); -- 2.39.2