From 8726a7363eb9213235e6e23657668e0daac39a5b Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Fri, 20 Mar 2026 13:52:37 -0400 Subject: config: cleanup the entire config infrastructure (#13785) Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff --- src/managers/KeybindManager.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/managers/KeybindManager.hpp') diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index 16f0b67d..eda88a5c 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -12,7 +12,6 @@ #include "../helpers/time/Timer.hpp" class CInputManager; -class CConfigManager; class CPluginSystem; class IKeyboard; @@ -91,6 +90,10 @@ enum eMultiKeyCase : uint8_t { MK_FULL_MATCH }; +namespace Config::Legacy { + class CConfigManager; +} + class CKeybindManager { public: CKeybindManager(); @@ -168,8 +171,6 @@ class CKeybindManager { static void moveWindowIntoGroup(PHLWINDOW pWindow, PHLWINDOW pWindowInDirection); static void switchToWindow(PHLWINDOW PWINDOWTOCHANGETO, bool forceFSCycle = false); - static uint64_t spawnRawProc(std::string, PHLWORKSPACE pInitialWorkspace, const std::string& execRuleToken = ""); - static std::optional spawnWithRules(std::string, PHLWORKSPACE pInitialWorkspace); // -------------- Dispatchers -------------- // static SDispatchResult closeActive(std::string); @@ -243,7 +244,7 @@ class CKeybindManager { friend class CCompositor; friend class CInputManager; - friend class CConfigManager; + friend class Config::Legacy::CConfigManager; friend class CWorkspace; friend class CPointerManager; }; -- cgit v1.2.3