summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2009-10-20 10:03:46 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2009-10-20 10:03:46 +0000
commit5a72cccb4cca897fe114161b5d82b02ea58d1e5c (patch)
tree2629920b106a457d3ad5ef6a43f3d8d80a0e9862 /src
parent1233852a801401daa0ae7da3f09575178a47eb18 (diff)
downloademacs-5a72cccb4cca897fe114161b5d82b02ea58d1e5c.tar.gz
(XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit
processing pending events when event is filtered for input method.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xterm.c2
2 files changed, 6 insertions, 1 deletions
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 <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.
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;