Skip to content

Commit

Permalink
Fix processKeyEvent method
Browse files Browse the repository at this point in the history
  • Loading branch information
epico committed Jan 26, 2024
1 parent cf33a2c commit 5fe4e0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/PYPBopomofoEditor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ gboolean
BopomofoEditor::processKeyEvent (guint keyval, guint keycode,
guint modifiers)
{
if (modifiers & IBUS_MOD4_MASK)
return FALSE;

modifiers &= (IBUS_SHIFT_MASK |
IBUS_CONTROL_MASK |
IBUS_MOD1_MASK |
Expand Down

0 comments on commit 5fe4e0f

Please sign in to comment.