diff options
| author | Po Lu | 2022-10-21 19:19:33 +0800 |
|---|---|---|
| committer | Po Lu | 2022-10-21 19:19:48 +0800 |
| commit | ea70e545c90e0cbfe3ea33c31ba3ef4f3487c32c (patch) | |
| tree | 84597e41e5fecc497010b3ea76525e70d5c0991a /oldXMenu/XMenu.h | |
| parent | 4b40b790ae003032daa612807bc59e17f2c29dca (diff) | |
| download | emacs-ea70e545c90e0cbfe3ea33c31ba3ef4f3487c32c.tar.gz emacs-ea70e545c90e0cbfe3ea33c31ba3ef4f3487c32c.zip | |
Fix delivery of window manager ping events during menu
* oldXMenu/Activate.c (XMenuActivateSetExposeFunction)
(XMenuActivate):
* oldXMenu/XMenu.h: Remove expose functions.
* src/msdos.h (XMenuSetAEQ): Remove no longer used function.
* src/xmenu.c (x_menu_expose_event): Delete function.
(x_menu_dispatch_event): New function.
(x_menu_show): Set it as the XMenu event handler.
Diffstat (limited to 'oldXMenu/XMenu.h')
| -rw-r--r-- | oldXMenu/XMenu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/oldXMenu/XMenu.h b/oldXMenu/XMenu.h index 54061235ae7..2eee18a3844 100644 --- a/oldXMenu/XMenu.h +++ b/oldXMenu/XMenu.h | |||
| @@ -259,7 +259,6 @@ typedef void (*Wait_func)(void*); | |||
| 259 | XPutBackEvent on an equivalent artificial core event on any | 259 | XPutBackEvent on an equivalent artificial core event on any |
| 260 | function it wants to translate. */ | 260 | function it wants to translate. */ |
| 261 | typedef void (*Translate_func)(XEvent *); | 261 | typedef void (*Translate_func)(XEvent *); |
| 262 | typedef void (*Expose_func)(XEvent *); | ||
| 263 | 262 | ||
| 264 | /* | 263 | /* |
| 265 | * XMenu library routine declarations. | 264 | * XMenu library routine declarations. |
| @@ -281,7 +280,6 @@ int XMenuLocate(Display *display, XMenu *menu, int p_num, int s_num, int x_pos, | |||
| 281 | void XMenuSetFreeze(XMenu *menu, int freeze); | 280 | void XMenuSetFreeze(XMenu *menu, int freeze); |
| 282 | void XMenuActivateSetWaitFunction(Wait_func func, void *data); | 281 | void XMenuActivateSetWaitFunction(Wait_func func, void *data); |
| 283 | void XMenuActivateSetTranslateFunction(Translate_func func); | 282 | void XMenuActivateSetTranslateFunction(Translate_func func); |
| 284 | void XMenuActivateSetExposeFunction(Expose_func func); | ||
| 285 | int XMenuActivate(Display *display, XMenu *menu, int *p_num, int *s_num, int x_pos, int y_pos, unsigned int event_mask, char **data, void (*help_callback) (char const *, int, int)); | 283 | int XMenuActivate(Display *display, XMenu *menu, int *p_num, int *s_num, int x_pos, int y_pos, unsigned int event_mask, char **data, void (*help_callback) (char const *, int, int)); |
| 286 | char *XMenuPost(Display *display, XMenu *menu, int *p_num, int *s_num, int x_pos, int y_pos, int event_mask); | 284 | char *XMenuPost(Display *display, XMenu *menu, int *p_num, int *s_num, int x_pos, int y_pos, int event_mask); |
| 287 | int XMenuDeletePane(Display *display, XMenu *menu, int p_num); | 285 | int XMenuDeletePane(Display *display, XMenu *menu, int p_num); |