From 0b539b0b0278f2d7c2b7629e6d28d8463cba2688 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Mon, 5 Jun 2023 20:35:32 +1200 Subject: Added a very basic config, and fixed some stuff NOTE: for some reason toggling doesn't work anymore --- keybinds.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'keybinds.h') 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)(); }; -- cgit v1.2.3