summaryrefslogtreecommitdiff
path: root/src/Keys.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Keys.hh')
-rw-r--r--src/Keys.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Keys.hh b/src/Keys.hh
index 399853c..7ebb0a7 100644
--- a/src/Keys.hh
+++ b/src/Keys.hh
@@ -28,6 +28,7 @@
28#include <string> 28#include <string>
29#include <map> 29#include <map>
30 30
31class WinClient;
31 32
32namespace FbTk { 33namespace FbTk {
33 class EventHandler; 34 class EventHandler;
@@ -75,7 +76,7 @@ public:
75 do action from XKeyEvent; return false if not bound to anything 76 do action from XKeyEvent; return false if not bound to anything
76 */ 77 */
77 bool doAction(int type, unsigned int mods, unsigned int key, int context, 78 bool doAction(int type, unsigned int mods, unsigned int key, int context,
78 Time time = 0); 79 WinClient *current = 0, Time time = 0);
79 80
80 /// register a window so that proper keys/buttons get grabbed on it 81 /// register a window so that proper keys/buttons get grabbed on it
81 void registerWindow(Window win, FbTk::EventHandler &handler, int context); 82 void registerWindow(Window win, FbTk::EventHandler &handler, int context);
@@ -113,6 +114,9 @@ private:
113 t_key *m_keylist; 114 t_key *m_keylist;
114 keyspace_t m_map; 115 keyspace_t m_map;
115 116
117 // former doAction static var, we need to access it from deleteTree
118 t_key *next_key;
119
116 WindowMap m_window_map; 120 WindowMap m_window_map;
117 HandlerMap m_handler_map; 121 HandlerMap m_handler_map;
118}; 122};