tChanging the key masks to the values of GDK. - surf - customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit de3ed01386c8ec1d2e767760262b84163d44290f
(DIR) parent 81d23cb76d40331656efd61338c0fb1ccc3422c2
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 13 Oct 2012 12:06:26 +0200
Changing the key masks to the values of GDK.
Diffstat:
M surf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/surf.c b/surf.c
t@@ -21,7 +21,7 @@
#include <sys/file.h>
#define LENGTH(x) (sizeof x / sizeof x[0])
-#define CLEANMASK(mask) (mask & (ShiftMask|ControlMask|Mod1Mask|Mod2Mask|Mod3Mask|Mod4Mask|Mod5Mask))
+#define CLEANMASK(mask) (mask & (GDK_SHIFT_MASK|GDK_CONTROL_MASK|GDK_MOD1_MASK|GDK_MOD2_MASK|GDK_MOD3_MASK|GDK_MOD4_MASK|GDK_MOD5_MASK))
enum { AtomFind, AtomGo, AtomUri, AtomLast };