From 0cd6403b4bc20403394a8aab202ea485ead728c5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 10 Jun 1996 17:32:13 +0000 Subject: [PATCH] (XTread_socket): Use XtAppNextEvent when using toolkit configurations. --- src/xterm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index dd30016b435..9f7a2027379 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -3302,7 +3302,12 @@ XTread_socket (sd, bufp, numchars, waitp, expected) while (XPending (dpyinfo->display) != 0) { +#ifdef USE_X_TOOLKIT + /* needed to raise Motif submenus */ + XtAppNextEvent (Xt_app_con, &event); +#else XNextEvent (dpyinfo->display, &event); +#endif event_found = 1; switch (event.type) -- 2.39.2