summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-01-25 15:39:26 +0000
committerGerd Moellmann <gerd@gnu.org>2001-01-25 15:39:26 +0000
commitb17a50b7b4c0f93ac4bd2efde493a359a5a856f0 (patch)
treec981e2a63814ce0510d9acc446eb0c5f8c6c8f8e
parentf0c1adabcb756404ddaeac75c94f72c87a055a5f (diff)
downloademacs-b17a50b7b4c0f93ac4bd2efde493a359a5a856f0.tar.gz
(Fx_file_dialog): Remove a workaround for Lesstif
which doesn't seem necessary anymore with Lesstif 0.92.
-rw-r--r--src/xfns.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/xfns.c b/src/xfns.c
index d3de60f7e6d..8c9ded0588e 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -11084,39 +11084,11 @@ selection dialog's entry field, if MUSTMATCH is non-nil.")
XmListSetPos (list, item_pos);
}
-#ifdef HAVE_MOTIF_2_1
-
/* Process events until the user presses Cancel or OK. */
result = 0;
while (result == 0 || XtAppPending (Xt_app_con))
XtAppProcessEvent (Xt_app_con, XtIMAll);
-#else /* not HAVE_MOTIF_2_1 */
-
- /* Process all events until the user presses Cancel or OK. */
- for (result = 0; result == 0;)
- {
- XEvent event;
- Widget widget, parent;
-
- XtAppNextEvent (Xt_app_con, &event);
-
- /* See if the receiver of the event is one of the widgets of
- the file selection dialog. If so, dispatch it. If not,
- discard it. */
- widget = XtWindowToWidget (event.xany.display, event.xany.window);
- parent = widget;
- while (parent && parent != dialog)
- parent = XtParent (parent);
-
- if (parent == dialog
- || (event.type == Expose
- && !process_expose_from_menu (event)))
- XtDispatchEvent (&event);
- }
-
-#endif /* not HAVE_MOTIF_2_1 */
-
/* Get the result. */
if (result == XmCR_OK)
{