diff options
-rw-r--r-- | INSTALL.md | 7 | ||||
-rw-r--r-- | source/keyb.c | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -8,16 +8,21 @@ * make * autoconf * automake (1.11.3 or up) +* pkg-config * Developer packages of the external libraries ### External libraries * libxinerama -* libxft +* libxft2 * libpango * libpangoxft +* libglib2.0 * libx11 +On debian based systems, the developer packages are in the form of: `<package>-dev` on rpm based +'<package>-devel'. + ### Optional: diff --git a/source/keyb.c b/source/keyb.c index bcaeb7ef..ff1b1e6b 100644 --- a/source/keyb.c +++ b/source/keyb.c @@ -239,7 +239,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 & ~( NumlockMask | ( 1 << 13 ) | ( 1 << 14 ) ) ) == kb->modmask ) { return TRUE; } } |