1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00

(XTread_socket): Use XtAppNextEvent when using toolkit configurations.

This commit is contained in:
Richard M. Stallman 1996-06-10 17:32:13 +00:00
parent 5efe98b7b6
commit 0cd6403b4b

View file

@ -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)