diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-25 13:44:55 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-11-01 09:57:24 (GMT) |
commit | 33519245192358ebffeae775c107d725b9019fa8 (patch) | |
tree | 8a788f33565a0ba2ad70e5171f4cb00e8cd6645e /src/Keys.hh | |
parent | 145d388c1be2d6f2cd0c68c51448c339ed96371b (diff) | |
download | fluxbox_paul-33519245192358ebffeae775c107d725b9019fa8.zip fluxbox_paul-33519245192358ebffeae775c107d725b9019fa8.tar.bz2 |
Reintroduce support for multiple keymodes
new keymodes are created (in lua) by calling newKeyMode() and activated by calling
keymode:activate()
Diffstat (limited to 'src/Keys.hh')
-rw-r--r-- | src/Keys.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Keys.hh b/src/Keys.hh index 9e31f0e..dfa4539 100644 --- a/src/Keys.hh +++ b/src/Keys.hh | |||
@@ -32,6 +32,10 @@ | |||
32 | 32 | ||
33 | class WinClient; | 33 | class WinClient; |
34 | 34 | ||
35 | namespace lua { | ||
36 | class state; | ||
37 | } | ||
38 | |||
35 | namespace FbTk { | 39 | namespace FbTk { |
36 | class EventHandler; | 40 | class EventHandler; |
37 | class AutoReloadHelper; | 41 | class AutoReloadHelper; |
@@ -91,6 +95,8 @@ private: | |||
91 | typedef std::map<Window, int> WindowMap; | 95 | typedef std::map<Window, int> WindowMap; |
92 | typedef std::map<Window, FbTk::EventHandler*> HandlerMap; | 96 | typedef std::map<Window, FbTk::EventHandler*> HandlerMap; |
93 | 97 | ||
98 | static int setKeyModeWrapper(lua::state *l); | ||
99 | |||
94 | void deleteTree(); | 100 | void deleteTree(); |
95 | 101 | ||
96 | void grabKey(unsigned int key, unsigned int mod); | 102 | void grabKey(unsigned int key, unsigned int mod); |