diff options
Diffstat (limited to 'src/Keys.hh')
-rw-r--r-- | src/Keys.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Keys.hh b/src/Keys.hh index 439ecac..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 | ||
31 | class WinClient; | ||
31 | 32 | ||
32 | namespace FbTk { | 33 | namespace 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); |