changeset 15600:16519aa28929

(XTread_socket): Use lw_tookit_related_event_p to avoid sending toolkit-specific events to Emacs.
author Miles Bader <miles@gnu.org>
date Thu, 04 Jul 1996 05:46:05 +0000
parents 7d3af2dcd864
children 39f72de374b9
files src/xterm.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Jul 04 05:45:59 1996 +0000
+++ b/src/xterm.c	Thu Jul 04 05:46:05 1996 +0000
@@ -3651,6 +3651,13 @@
 					  80, &keysym, &compose_status);
 #endif
 
+#ifdef USE_X_TOOLKIT
+                  if (lw_toolkit_related_event_p (&event))
+                    {
+                      XtDispatchEvent (&event);
+                      break;
+                    }
+#endif
 		  orig_keysym = keysym;
 
 		  if (numchars > 1)