Mercurial > emacs
comparison src/widget.c @ 15044:8704666feefd
(EmacsFrameRealize): Use STANDARD_EVENT_SET.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 18 Apr 1996 04:13:19 +0000 |
parents | b906d04998c8 |
children | 10d82268090b |
comparison
equal
deleted
inserted
replaced
15043:a0716ac97a83 | 15044:8704666feefd |
---|---|
730 XtValueMask *mask; | 730 XtValueMask *mask; |
731 XSetWindowAttributes *attrs; | 731 XSetWindowAttributes *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); |
745 update_wm_hints (ew); | 740 update_wm_hints (ew); |
746 } | 741 } |