diff options
| author | Po Lu | 2022-03-02 09:46:44 +0800 |
|---|---|---|
| committer | Po Lu | 2022-03-02 09:46:44 +0800 |
| commit | 689a34e2153ec558dbf406809a5e58489250fe1a (patch) | |
| tree | 2bf962bad2e5759c7762871299f3e4bb5c75a9a4 /oldXMenu | |
| parent | 6b71b80fdcf32aed5191898e7339ffb9dcd29005 (diff) | |
| download | emacs-689a34e2153ec558dbf406809a5e58489250fe1a.tar.gz emacs-689a34e2153ec558dbf406809a5e58489250fe1a.zip | |
Dismiss help text when item becomes unactivated on oldXMenu
* oldXMenu/Activate.c (XMenuActivate): Dismiss help text when
leaving an item.
Diffstat (limited to 'oldXMenu')
| -rw-r--r-- | oldXMenu/Activate.c | 3 |
1 files changed, 3 insertions, 0 deletions
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( | |||
| 457 | * deactivate it. | 457 | * deactivate it. |
| 458 | */ | 458 | */ |
| 459 | if (cur_s->activated) { | 459 | if (cur_s->activated) { |
| 460 | /* Emacs specific, HELP_STRING cannot be validly NULL | ||
| 461 | * in the real XMenu library. */ | ||
| 462 | help_callback (NULL, cur_p->serial, cur_s->serial); | ||
| 460 | cur_s->activated = False; | 463 | cur_s->activated = False; |
| 461 | _XMRefreshSelection(display, menu, cur_s); | 464 | _XMRefreshSelection(display, menu, cur_s); |
| 462 | } | 465 | } |