summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2019-04-19 10:32:43 +0800
committerPeng Wu <alexepico@gmail.com>2019-04-19 10:32:43 +0800
commite352715ab9678d5b4a1b09ccf0cc6d7f61fd2a49 (patch)
treea53e00aa65e424b4f7a5e1134d8ae9665ed1144c
parent60911931b18008e8daf5eae41bea17447c651105 (diff)
downloadibus-libzhuyin-e352715ab9678d5b4a1b09ccf0cc6d7f61fd2a49.zip
ibus-libzhuyin-e352715ab9678d5b4a1b09ccf0cc6d7f61fd2a49.tar.gz
ibus-libzhuyin-e352715ab9678d5b4a1b09ccf0cc6d7f61fd2a49.tar.xz
fixes page up and page down shortcut key
-rw-r--r--src/ZYZPhoneticEditor.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ZYZPhoneticEditor.cc b/src/ZYZPhoneticEditor.cc
index 9157453..c7b57ff 100644
--- a/src/ZYZPhoneticEditor.cc
+++ b/src/ZYZPhoneticEditor.cc
@@ -365,11 +365,15 @@ PhoneticEditor::processCandidateKey (guint keyval, guint keycode,
case IBUS_Page_Up:
case IBUS_KP_Page_Up:
+ case IBUS_Left:
+ case IBUS_KP_Left:
pageUp ();
return TRUE;
case IBUS_Page_Down:
case IBUS_KP_Page_Down:
+ case IBUS_Right:
+ case IBUS_KP_Right:
pageDown ();
return TRUE;