diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-04-18 04:13:19 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-04-18 04:13:19 +0000 |
commit | 1976080b3b9f2578d9df4d1e9c83ac5821ccdd16 (patch) | |
tree | c04bd62f29cee7aa0ccda5a618d19c9123396888 /src/widget.c | |
parent | d2f764d0cc1f64f753b73f509cd8510287e7ea95 (diff) | |
download | emacs-1976080b3b9f2578d9df4d1e9c83ac5821ccdd16.tar.gz |
(EmacsFrameRealize): Use STANDARD_EVENT_SET.
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 9 |
1 files 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); |