Mercurial > emacs
changeset 36760:568504879a41
(xmenu_show) [LESSTIF_VERSION]: Take out the code
removing button grabs.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 13 Mar 2001 10:38:27 +0000 |
parents | 7e94bc833559 |
children | 273759e93bf3 |
files | src/xmenu.c |
diffstat | 1 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xmenu.c Tue Mar 13 08:14:35 2001 +0000 +++ b/src/xmenu.c Tue Mar 13 10:38:27 2001 +0000 @@ -2207,17 +2207,6 @@ /* Process events that apply to the menu. */ popup_get_selection ((XEvent *) 0, FRAME_X_DISPLAY_INFO (f), menu_id); -#ifdef LESSTIF_VERSION - /* Nov 1998: For an unknown reason a button grab remains active - after the popup menu has gone. */ - XUngrabButton (XtDisplay (f->output_data.x->widget), - AnyButton, AnyModifier, - XtWindow (f->output_data.x->widget)); - XUngrabButton (XtDisplay (f->output_data.x->edit_widget), - AnyButton, AnyModifier, - XtWindow (f->output_data.x->edit_widget)); -#endif /* LESSTIF_VERSION */ - /* fp turned off the following statement and wrote a comment that it is unnecessary--that the menu has already disappeared. Nowadays the menu disappears ok, all right, but