(XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 20 Oct 2009 10:03:46 +0000 (10:03 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 20 Oct 2009 10:03:46 +0000 (10:03 +0000)
processing pending events when event is filtered for input method.

src/ChangeLog
src/xterm.c

index 45ed194..df81408 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xterm.c (XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit
+       processing pending events when event is filtered for input method.
+
 2009-10-20  Juanma Barranquero  <lekktu@gmail.com>
 
        * fns.c: Add #endif accidentally removed in previous change.
index 97bfd5b..0eebb02 100644 (file)
@@ -7125,7 +7125,7 @@ XTread_socket (terminal, expected, hold_quit)
 #ifdef HAVE_X_I18N
       /* Filter events for the current X input method.  */
       if (x_filter_event (terminal->display_info.x, &event))
-        break;
+        continue;
 #endif
       event_found = 1;