Changing the key masks to the values of GDK.

This commit is contained in:
Christoph Lohmann 2012-10-13 12:06:26 +02:00
parent 81d23cb76d
commit de3ed01386
1 changed files with 1 additions and 1 deletions

2
surf.c
View File

@ -21,7 +21,7 @@
#include <sys/file.h> #include <sys/file.h>
#define LENGTH(x) (sizeof x / sizeof x[0]) #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 }; enum { AtomFind, AtomGo, AtomUri, AtomLast };