1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Dismiss help text when item becomes unactivated on oldXMenu

* oldXMenu/Activate.c (XMenuActivate): Dismiss help text when
leaving an item.
This commit is contained in:
Po Lu 2022-03-02 09:46:44 +08:00
parent 6b71b80fdc
commit 689a34e215

View file

@ -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);
}