keybinds: add Dispatchers for "force float" and "force tiling" (non-toggle) (#5137)

---------

Co-authored-by: djvs <djvs@users.noreply.github.com>
This commit is contained in:
djvs
2024-03-17 11:41:43 -04:00
committed by GitHub
parent e68c07d809
commit 3ed3b34c4a
2 changed files with 22 additions and 1 deletions

View File

@@ -120,6 +120,8 @@ class CKeybindManager {
static uint64_t spawnRaw(std::string);
static void toggleActiveFloating(std::string);
static void toggleActivePseudo(std::string);
static void setActiveFloating(std::string);
static void setActiveTiled(std::string);
static void changeworkspace(std::string);
static void fullscreenActive(std::string);
static void fakeFullscreenActive(std::string);
@@ -179,4 +181,6 @@ class CKeybindManager {
friend class CConfigManager;
};
static void toggleActiveFloatingCore(std::string args, std::optional<bool> floatState);
inline std::unique_ptr<CKeybindManager> g_pKeybindManager;