From: Richard M. Stallman Date: Thu, 18 Apr 1996 04:13:19 +0000 (+0000) Subject: (EmacsFrameRealize): Use STANDARD_EVENT_SET. X-Git-Tag: emacs-19.34~817 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1976080b3b9f2578d9df4d1e9c83ac5821ccdd16;p=emacs.git (EmacsFrameRealize): Use STANDARD_EVENT_SET. --- 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);