From: Richard M. Stallman Date: Mon, 10 Jun 1996 17:32:13 +0000 (+0000) Subject: (XTread_socket): Use XtAppNextEvent when using toolkit configurations. X-Git-Tag: emacs-19.34~486 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0cd6403b4bc20403394a8aab202ea485ead728c5;p=emacs.git (XTread_socket): Use XtAppNextEvent when using toolkit configurations. --- 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)