summaryrefslogtreecommitdiffstats
path: root/src/ZYEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-10-12 13:59:15 +0800
committerPeng Wu <alexepico@gmail.com>2017-10-12 13:59:15 +0800
commitff9ea6940d6f5182c2213930893f726aa87c48ec (patch)
tree489eecfb17adf8eca31f9b1f50d9d96bccb8ae11 /src/ZYEditor.cc
parent70ff319ccf3a0e665cf47d37ccb0c18fe05bf66b (diff)
downloadibus-libzhuyin-ff9ea6940d6f5182c2213930893f726aa87c48ec.tar.gz
ibus-libzhuyin-ff9ea6940d6f5182c2213930893f726aa87c48ec.tar.xz
ibus-libzhuyin-ff9ea6940d6f5182c2213930893f726aa87c48ec.zip
fixes shortcut handling
Diffstat (limited to 'src/ZYEditor.cc')
-rw-r--r--src/ZYEditor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ZYEditor.cc b/src/ZYEditor.cc
index d30deed..5143c4c 100644
--- a/src/ZYEditor.cc
+++ b/src/ZYEditor.cc
@@ -44,7 +44,7 @@ Editor::processKeyEvent (guint keyval, guint keycode, guint modifiers)
IBUS_META_MASK);
/* ignore key events with some masks */
if (modifiers != 0)
- return TRUE;
+ return FALSE;
if (keyval >= IBUS_exclam && keyval <= IBUS_asciitilde) {
/* char key */