diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-02 09:46:44 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-02 09:46:44 +0800 |
commit | 689a34e2153ec558dbf406809a5e58489250fe1a (patch) | |
tree | 2bf962bad2e5759c7762871299f3e4bb5c75a9a4 /oldXMenu/Activate.c | |
parent | 6b71b80fdcf32aed5191898e7339ffb9dcd29005 (diff) | |
download | emacs-689a34e2153ec558dbf406809a5e58489250fe1a.tar.gz emacs-689a34e2153ec558dbf406809a5e58489250fe1a.tar.bz2 emacs-689a34e2153ec558dbf406809a5e58489250fe1a.zip |
Dismiss help text when item becomes unactivated on oldXMenu
* oldXMenu/Activate.c (XMenuActivate): Dismiss help text when
leaving an item.
Diffstat (limited to 'oldXMenu/Activate.c')
-rw-r--r-- | oldXMenu/Activate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oldXMenu/Activate.c b/oldXMenu/Activate.c index 447b7398ca2..2d1d5068328 100644 --- a/oldXMenu/Activate.c +++ b/oldXMenu/Activate.c @@ -457,6 +457,9 @@ XMenuActivate( * deactivate it. */ if (cur_s->activated) { + /* Emacs specific, HELP_STRING cannot be validly NULL + * in the real XMenu library. */ + help_callback (NULL, cur_p->serial, cur_s->serial); cur_s->activated = False; _XMRefreshSelection(display, menu, cur_s); } |