mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Fix persistent help text on disabled menu items
* oldXMenu/Activate.c (XMenuActivate): Always deactivate help echo upon leaving a menu item.
This commit is contained in:
parent
84695d439a
commit
ae00f07d88
1 changed files with 3 additions and 3 deletions
|
|
@ -456,10 +456,10 @@ XMenuActivate(
|
|||
* If the current selection was activated then
|
||||
* deactivate it.
|
||||
*/
|
||||
/* Emacs specific, HELP_STRING cannot be validly NULL
|
||||
* in the real XMenu library. */
|
||||
help_callback (NULL, cur_p->serial, cur_s->serial);
|
||||
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue