summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-03-13 10:39:00 +0000
committerGerd Moellmann <gerd@gnu.org>2001-03-13 10:39:00 +0000
commit159cf431a94443d05bd2f4bbd880975aabbdb17e (patch)
tree23db15fe35e40ed17a6513b15bd6dbcb002e21c2
parente521c67d55d63b311602cf9e360341940388d95f (diff)
downloademacs-159cf431a94443d05bd2f4bbd880975aabbdb17e.tar.gz
(xmenu_show) [LESSTIF_VERSION]: Take out the code
removing button grabs.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xmenu.c11
2 files changed, 5 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2cbca7a638f..25bde601972 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-13 Gerd Moellmann <gerd@gnu.org>
+
+ * xmenu.c (xmenu_show) [LESSTIF_VERSION]: Take out the code
+ removing button grabs.
+
2001-03-13 Kenichi Handa <handa@etl.go.jp>
* fontset.c (syms_of_fontset): Describe highlight-wrong-size-font
diff --git a/src/xmenu.c b/src/xmenu.c
index 1c39e86ed26..004458adeda 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -2207,17 +2207,6 @@ xmenu_show (f, x, y, for_click, keymaps, title, error)
/* 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