changeset 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 1beabd8b78a1
children 65d9ff2c8602
files src/xterm.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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)