aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 5 insertions, 0 deletions
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)
3302 3302
3303 while (XPending (dpyinfo->display) != 0) 3303 while (XPending (dpyinfo->display) != 0)
3304 { 3304 {
3305#ifdef USE_X_TOOLKIT
3306 /* needed to raise Motif submenus */
3307 XtAppNextEvent (Xt_app_con, &event);
3308#else
3305 XNextEvent (dpyinfo->display, &event); 3309 XNextEvent (dpyinfo->display, &event);
3310#endif
3306 event_found = 1; 3311 event_found = 1;
3307 3312
3308 switch (event.type) 3313 switch (event.type)