]> git.eshelyaron.com Git - emacs.git/commitdiff
Dismiss help text when item becomes unactivated on oldXMenu
authorPo Lu <luangruo@yahoo.com>
Wed, 2 Mar 2022 01:46:44 +0000 (09:46 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 2 Mar 2022 01:46:44 +0000 (09:46 +0800)
* oldXMenu/Activate.c (XMenuActivate): Dismiss help text when
leaving an item.

oldXMenu/Activate.c

index 447b7398ca28109ebf44045d307d07a82dbf354d..2d1d50683283cd20f496232d9f573a3b203ae9cf 100644 (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);
            }