diff options
Diffstat (limited to 'src/Keys.hh')
-rw-r--r-- | src/Keys.hh | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/Keys.hh b/src/Keys.hh index af64a1d..43f4445 100644 --- a/src/Keys.hh +++ b/src/Keys.hh | |||
@@ -42,14 +42,17 @@ public: | |||
42 | // it's ok if there is overlap; it will be worked out in t_key::find() | 42 | // it's ok if there is overlap; it will be worked out in t_key::find() |
43 | // eventHandlers should submit bitwise-or of contexts the event happened in | 43 | // eventHandlers should submit bitwise-or of contexts the event happened in |
44 | enum { | 44 | enum { |
45 | GLOBAL = 0x01, | 45 | GLOBAL = 1 << 0, |
46 | ON_DESKTOP = 0x02, | 46 | ON_DESKTOP = 1 << 1, |
47 | ON_TOOLBAR = 0x04, | 47 | ON_TOOLBAR = 1 << 2, |
48 | ON_ICONBUTTON = 0x08, | 48 | ON_ICONBUTTON = 1 << 3, |
49 | ON_TITLEBAR = 0x10, | 49 | ON_TITLEBAR = 1 << 4, |
50 | ON_WINDOW = 0x20, | 50 | ON_WINDOW = 1 << 5, |
51 | ON_TAB = 0x40, | 51 | ON_WINDOWBORDER = 1 << 6, |
52 | ON_SLIT = 0x80 | 52 | ON_LEFTGRIP = 1 << 7, |
53 | ON_RIGHTGRIP = 1 << 8, | ||
54 | ON_TAB = 1 << 9, | ||
55 | ON_SLIT = 1 << 10 | ||
53 | // and so on... | 56 | // and so on... |
54 | }; | 57 | }; |
55 | 58 | ||