summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INSTALL.md7
-rw-r--r--source/keyb.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 0a2705ff..d2a4e87c 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -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;
}
}