diff options
author | Po Lu <luangruo@yahoo.com> | 2022-10-21 19:19:33 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-10-21 19:19:48 +0800 |
commit | ea70e545c90e0cbfe3ea33c31ba3ef4f3487c32c (patch) | |
tree | 84597e41e5fecc497010b3ea76525e70d5c0991a /oldXMenu/Activate.c | |
parent | 4b40b790ae003032daa612807bc59e17f2c29dca (diff) | |
download | emacs-ea70e545c90e0cbfe3ea33c31ba3ef4f3487c32c.tar.gz emacs-ea70e545c90e0cbfe3ea33c31ba3ef4f3487c32c.tar.bz2 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/Activate.c')
-rw-r--r-- | oldXMenu/Activate.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/oldXMenu/Activate.c b/oldXMenu/Activate.c index e679c2ffed6..781c05bd026 100644 --- a/oldXMenu/Activate.c +++ b/oldXMenu/Activate.c @@ -122,7 +122,6 @@ int x_menu_grab_keyboard = 1; static Wait_func wait_func; static void* wait_data; static Translate_func translate_func = NULL; -static Expose_func expose_func = NULL; void XMenuActivateSetWaitFunction (Wait_func func, void *data) @@ -137,12 +136,6 @@ XMenuActivateSetTranslateFunction (Translate_func func) translate_func = func; } -void -XMenuActivateSetExposeFunction (Expose_func func) -{ - expose_func = func; -} - int XMenuActivate( register Display *display, /* Display to put menu on. */ @@ -346,9 +339,6 @@ XMenuActivate( feq = feq_tmp; } else if (_XMEventHandler) (*_XMEventHandler)(&event); - - if (expose_func) - expose_func (&event); break; } if (event_xmp->activated) { |