Commit 1976080b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(EmacsFrameRealize): Use STANDARD_EVENT_SET.

parent d2f764d0
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment