summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.hpp
diff options
context:
space:
mode:
authordjvs <2954343+djvs@users.noreply.github.com>2024-03-17 11:41:43 -0400
committerGitHub <noreply@github.com>2024-03-17 15:41:43 +0000
commit3ed3b34c4aea77484fa3325f9f95c001b8d6a0fa (patch)
treeed832d5dee66a4bb016eff307b1e7eb3ebf2e459 /src/managers/KeybindManager.hpp
parente68c07d8096ee5f83e29508c8762279ab80a924b (diff)
keybinds: add Dispatchers for "force float" and "force tiling" (non-toggle) (#5137)
--------- Co-authored-by: djvs <djvs@users.noreply.github.com>
Diffstat (limited to 'src/managers/KeybindManager.hpp')
-rw-r--r--src/managers/KeybindManager.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp
index 07b77398..5244918d 100644
--- a/src/managers/KeybindManager.hpp
+++ b/src/managers/KeybindManager.hpp
@@ -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;