From 689a34e2153ec558dbf406809a5e58489250fe1a Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 2 Mar 2022 09:46:44 +0800 Subject: [PATCH] Dismiss help text when item becomes unactivated on oldXMenu * oldXMenu/Activate.c (XMenuActivate): Dismiss help text when leaving an item. --- oldXMenu/Activate.c | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.39.5