aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-04-18 04:13:19 +0000
committerRichard M. Stallman <[email protected]>1996-04-18 04:13:19 +0000
commit1976080b3b9f2578d9df4d1e9c83ac5821ccdd16 (patch)
treec04bd62f29cee7aa0ccda5a618d19c9123396888 /src/widget.c
parentd2f764d0cc1f64f753b73f509cd8510287e7ea95 (diff)
(EmacsFrameRealize): Use STANDARD_EVENT_SET.
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/widget.c b/src/widget.c
index 23c5729f69..6358a067ed 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);