summaryrefslogtreecommitdiff
path: root/oldXMenu
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-03-02 09:46:44 +0800
committerPo Lu <luangruo@yahoo.com>2022-03-02 09:46:44 +0800
commit689a34e2153ec558dbf406809a5e58489250fe1a (patch)
tree2bf962bad2e5759c7762871299f3e4bb5c75a9a4 /oldXMenu
parent6b71b80fdcf32aed5191898e7339ffb9dcd29005 (diff)
downloademacs-689a34e2153ec558dbf406809a5e58489250fe1a.tar.gz
Dismiss help text when item becomes unactivated on oldXMenu
* oldXMenu/Activate.c (XMenuActivate): Dismiss help text when leaving an item.
Diffstat (limited to 'oldXMenu')
-rw-r--r--oldXMenu/Activate.c3
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);
}