diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-05-05 06:41:03 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-05-05 06:41:03 (GMT) |
commit | a10bab0f7cf9d41b9d462c643a3971c3ac348953 (patch) | |
tree | 3970736e2b58266e923e242e76eedae01261159c /src/Keys.hh | |
parent | c1ed89194660be4419b73656e06b16b673003a9b (diff) | |
download | fluxbox-a10bab0f7cf9d41b9d462c643a3971c3ac348953.zip fluxbox-a10bab0f7cf9d41b9d462c643a3971c3ac348953.tar.bz2 |
added OnLeftGrip, OnRightGrip, OnWindowBorder modifiers for keys file
this allows to move some hardcoded keysbindings into the keys file and
makes the code simpler
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 | ||