]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket): Use XtAppNextEvent when using toolkit configurations.
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 17:32:13 +0000 (17:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 17:32:13 +0000 (17:32 +0000)
src/xterm.c

index dd30016b435a46553ee70b1f1747a9950611b4d0..9f7a2027379d87e4a231e8359031db941b8008f2 100644 (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)