summaryrefslogtreecommitdiffstats
path: root/src/PYPBopomofoEngine.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2023-12-06 12:01:34 +0800
committerPeng Wu <alexepico@gmail.com>2023-12-06 12:01:34 +0800
commit48269b7667a124af29d41f2be4e21a00e2f3fa80 (patch)
tree26bc3b0dbb2a77e6e16a7db85d45c03809d0f9c2 /src/PYPBopomofoEngine.cc
parentfb2ace4ba4cace96e10d85970c42a7ebc04070ae (diff)
downloadibus-libpinyin-48269b7667a124af29d41f2be4e21a00e2f3fa80.tar.gz
ibus-libpinyin-48269b7667a124af29d41f2be4e21a00e2f3fa80.tar.xz
ibus-libpinyin-48269b7667a124af29d41f2be4e21a00e2f3fa80.zip
Fix processAccelKeyEvent method
Diffstat (limited to 'src/PYPBopomofoEngine.cc')
-rw-r--r--src/PYPBopomofoEngine.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PYPBopomofoEngine.cc b/src/PYPBopomofoEngine.cc
index c6e0627..0f02f23 100644
--- a/src/PYPBopomofoEngine.cc
+++ b/src/PYPBopomofoEngine.cc
@@ -106,7 +106,8 @@ BopomofoEngine::processAccelKeyEvent (guint keyval, guint keycode,
* we will let client applications to handle release key event */
return FALSE;
} else {
- return TRUE;
+ /* Always return FALSE for the IBUS_RELEASE_MASK. */
+ return FALSE;
}
}