diff options
| author | Gerd Moellmann | 2001-03-13 10:39:00 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-03-13 10:39:00 +0000 |
| commit | 159cf431a94443d05bd2f4bbd880975aabbdb17e (patch) | |
| tree | 23db15fe35e40ed17a6513b15bd6dbcb002e21c2 /src/xmenu.c | |
| parent | e521c67d55d63b311602cf9e360341940388d95f (diff) | |
| download | emacs-159cf431a94443d05bd2f4bbd880975aabbdb17e.tar.gz emacs-159cf431a94443d05bd2f4bbd880975aabbdb17e.zip | |
(xmenu_show) [LESSTIF_VERSION]: Take out the code
removing button grabs.
Diffstat (limited to 'src/xmenu.c')
| -rw-r--r-- | src/xmenu.c | 11 |
1 files changed, 0 insertions, 11 deletions
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) | |||
| 2207 | /* Process events that apply to the menu. */ | 2207 | /* Process events that apply to the menu. */ |
| 2208 | popup_get_selection ((XEvent *) 0, FRAME_X_DISPLAY_INFO (f), menu_id); | 2208 | popup_get_selection ((XEvent *) 0, FRAME_X_DISPLAY_INFO (f), menu_id); |
| 2209 | 2209 | ||
| 2210 | #ifdef LESSTIF_VERSION | ||
| 2211 | /* Nov 1998: For an unknown reason a button grab remains active | ||
| 2212 | after the popup menu has gone. */ | ||
| 2213 | XUngrabButton (XtDisplay (f->output_data.x->widget), | ||
| 2214 | AnyButton, AnyModifier, | ||
| 2215 | XtWindow (f->output_data.x->widget)); | ||
| 2216 | XUngrabButton (XtDisplay (f->output_data.x->edit_widget), | ||
| 2217 | AnyButton, AnyModifier, | ||
| 2218 | XtWindow (f->output_data.x->edit_widget)); | ||
| 2219 | #endif /* LESSTIF_VERSION */ | ||
| 2220 | |||
| 2221 | /* fp turned off the following statement and wrote a comment | 2210 | /* fp turned off the following statement and wrote a comment |
| 2222 | that it is unnecessary--that the menu has already disappeared. | 2211 | that it is unnecessary--that the menu has already disappeared. |
| 2223 | Nowadays the menu disappears ok, all right, but | 2212 | Nowadays the menu disappears ok, all right, but |