emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 689a34e215: Dismiss help text when item becomes unactivated on ol


From: Po Lu
Subject: master 689a34e215: Dismiss help text when item becomes unactivated on oldXMenu
Date: Tue, 1 Mar 2022 20:47:35 -0500 (EST)

branch: master
commit 689a34e2153ec558dbf406809a5e58489250fe1a
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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 447b7398ca..2d1d506832 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);
            }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]