Mercurial > emacs
diff src/xterm.c @ 15376:73d3ebc6aecd
(XTread_socket): Use XtAppNextEvent when using toolkit configurations.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 10 Jun 1996 17:32:13 +0000 |
parents | 558d7f9e06ef |
children | 300b52e37681 |
line wrap: on
line diff
--- a/src/xterm.c Mon Jun 10 17:31:25 1996 +0000 +++ b/src/xterm.c Mon Jun 10 17:32:13 1996 +0000 @@ -3302,7 +3302,12 @@ 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)