diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 5 | ||||
| -rw-r--r-- | src/xterm.h | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/xfns.c b/src/xfns.c index 09bad715025..65218b3fc07 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3803,13 +3803,8 @@ x_window (struct frame *f, long window_prompting) | |||
| 3803 | FRAME_DISPLAY_INFO (f)->Xatom_wm_protocols, | 3803 | FRAME_DISPLAY_INFO (f)->Xatom_wm_protocols, |
| 3804 | XA_ATOM, 32, PropModeAppend, NULL, 0); | 3804 | XA_ATOM, 32, PropModeAppend, NULL, 0); |
| 3805 | 3805 | ||
| 3806 | #if !defined USE_MOTIF || !defined HAVE_XINPUT2 | ||
| 3807 | /* Make all the standard events reach the Emacs frame. */ | 3806 | /* Make all the standard events reach the Emacs frame. */ |
| 3808 | attributes.event_mask = STANDARD_EVENT_SET; | 3807 | attributes.event_mask = STANDARD_EVENT_SET; |
| 3809 | #else | ||
| 3810 | /* This is used for Motif menus. */ | ||
| 3811 | attributes.event_mask = STANDARD_EVENT_SET | PropertyChangeMask; | ||
| 3812 | #endif | ||
| 3813 | 3808 | ||
| 3814 | #ifdef HAVE_X_I18N | 3809 | #ifdef HAVE_X_I18N |
| 3815 | if (FRAME_XIC (f)) | 3810 | if (FRAME_XIC (f)) |
diff --git a/src/xterm.h b/src/xterm.h index f6c251649ff..7f45e2f172e 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -132,6 +132,7 @@ INLINE_HEADER_BEGIN | |||
| 132 | | FocusChangeMask \ | 132 | | FocusChangeMask \ |
| 133 | | LeaveWindowMask \ | 133 | | LeaveWindowMask \ |
| 134 | | EnterWindowMask \ | 134 | | EnterWindowMask \ |
| 135 | | PropertyChangeMask \ | ||
| 135 | | VisibilityChangeMask) | 136 | | VisibilityChangeMask) |
| 136 | 137 | ||
| 137 | #ifdef HAVE_X11R6_XIM | 138 | #ifdef HAVE_X11R6_XIM |