summaryrefslogtreecommitdiffstats
path: root/src/ZYZZhuyinEditor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ZYZZhuyinEditor.cc')
-rw-r--r--src/ZYZZhuyinEditor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ZYZZhuyinEditor.cc b/src/ZYZZhuyinEditor.cc
index bd84e37..df02ce2 100644
--- a/src/ZYZZhuyinEditor.cc
+++ b/src/ZYZZhuyinEditor.cc
@@ -213,6 +213,9 @@ ZhuyinEditor::processKeyEvent (guint keyval, guint keycode, guint modifiers)
IBUS_META_MASK |
IBUS_LOCK_MASK);
+ if (processEscape (keyval, keycode, modifiers))
+ return TRUE;
+
if (STATE_INPUT == m_input_state) {
if (insert (keyval))