From 5a72cccb4cca897fe114161b5d82b02ea58d1e5c Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Tue, 20 Oct 2009 10:03:46 +0000 Subject: [PATCH] (XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit processing pending events when event is filtered for input method. --- src/ChangeLog | 5 +++++ src/xterm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 45ed1940675..df814088342 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-10-20 YAMAMOTO Mitsuharu + + * 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 * fns.c: Add #endif accidentally removed in previous change. diff --git a/src/xterm.c b/src/xterm.c index 97bfd5b2292..0eebb029a93 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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; -- 2.39.5