summaryrefslogtreecommitdiff
path: root/keybinds.h
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2023-06-05 20:35:32 +1200
committerBossCode45 <human.cyborg42@gmail.com>2023-06-05 20:35:32 +1200
commit0b539b0b0278f2d7c2b7629e6d28d8463cba2688 (patch)
tree3a0b47f09dc58f2c14ba06443f2a5fe88d166e2f /keybinds.h
parente9cc5756dbb0a2d079a7b5e3438d79945f819df5 (diff)
downloadYATwm-0b539b0b0278f2d7c2b7629e6d28d8463cba2688.tar.gz
YATwm-0b539b0b0278f2d7c2b7629e6d28d8463cba2688.zip
Added a very basic config, and fixed some stuff
NOTE: for some reason toggling doesn't work anymore
Diffstat (limited to 'keybinds.h')
-rw-r--r--keybinds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keybinds.h b/keybinds.h
index 07d9aea..686eaf8 100644
--- a/keybinds.h
+++ b/keybinds.h
@@ -19,7 +19,7 @@ struct Keybind {
class KeybindsModule {
public:
- KeybindsModule(CommandsModule& commandsModule, Config& cfg, Globals& globals);
+ KeybindsModule(CommandsModule& commandsModule, Config& cfg, Globals& globals, void (*updateMousePos)());
~KeybindsModule() = default;
const void bind(const CommandArg* argv);
const void handleKeypress(XKeyEvent e);
@@ -29,4 +29,5 @@ private:
CommandsModule& commandsModule;
Config& cfg;
Globals& globals;
+ void (*updateMousePos)();
};