summaryrefslogtreecommitdiffstats
path: root/source/keyb.c
diff options
context:
space:
mode:
authorQball Cow <qball@gmpclient.org>2015-11-12 15:42:00 +0100
committerQball Cow <qball@gmpclient.org>2015-11-12 15:42:00 +0100
commite6ca8acba98c414a93866583f17f1f6c7216f555 (patch)
tree33dbdf65a5a8015f466f4f292edcafee2b7e6e75 /source/keyb.c
parentfa567e29ba3108a4b608c46604c59456710d32d9 (diff)
Possible fix for issue #265. Check mask when accepting textbox input.
Diffstat (limited to 'source/keyb.c')
-rw-r--r--source/keyb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/keyb.c b/source/keyb.c
index 4d8b4166..4b5ae350 100644
--- a/source/keyb.c
+++ b/source/keyb.c
@@ -142,7 +142,7 @@ int abe_test_action ( KeyBindingAction action, unsigned int mask, KeySym key )
if ( kb->keysym == key ) {
// Bits 13 and 14 of the modifiers together are the group number, and
// should be ignored when looking up key bindings
- if ( ( mask & ~( NumlockMask | ( 1 << 13 ) | ( 1 << 14 ) ) ) == kb->modmask ) {
+ if ( ( mask & ~( LockMask | NumlockMask | ( 1 << 13 ) | ( 1 << 14 ) ) ) == kb->modmask ) {
return TRUE;
}
}