diff options
| author | Richard M. Stallman | 1996-04-18 04:13:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-04-18 04:13:19 +0000 |
| commit | 1976080b3b9f2578d9df4d1e9c83ac5821ccdd16 (patch) | |
| tree | c04bd62f29cee7aa0ccda5a618d19c9123396888 /src | |
| parent | d2f764d0cc1f64f753b73f509cd8510287e7ea95 (diff) | |
| download | emacs-1976080b3b9f2578d9df4d1e9c83ac5821ccdd16.tar.gz emacs-1976080b3b9f2578d9df4d1e9c83ac5821ccdd16.zip | |
(EmacsFrameRealize): Use STANDARD_EVENT_SET.
Diffstat (limited to 'src')
| -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) | |||
| 732 | { | 732 | { |
| 733 | EmacsFrame ew = (EmacsFrame)widget; | 733 | EmacsFrame ew = (EmacsFrame)widget; |
| 734 | 734 | ||
| 735 | attrs->event_mask = (KeyPressMask | ExposureMask | ButtonPressMask | | 735 | attrs->event_mask = (STANDARD_EVENT_SET | PropertyChangeMask |
| 736 | ButtonReleaseMask | StructureNotifyMask | | 736 | | SubstructureNotifyMask | SubstructureRedirectMask); |
| 737 | FocusChangeMask | PointerMotionHintMask | | ||
| 738 | PointerMotionMask | LeaveWindowMask | EnterWindowMask | | ||
| 739 | VisibilityChangeMask | PropertyChangeMask | | ||
| 740 | StructureNotifyMask | SubstructureNotifyMask | | ||
| 741 | SubstructureRedirectMask); | ||
| 742 | *mask |= CWEventMask; | 737 | *mask |= CWEventMask; |
| 743 | XtCreateWindow (widget, InputOutput, (Visual *)CopyFromParent, *mask, | 738 | XtCreateWindow (widget, InputOutput, (Visual *)CopyFromParent, *mask, |
| 744 | attrs); | 739 | attrs); |