summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.hpp
diff options
context:
space:
mode:
authorxDarksome <dev@darkso.me>2022-06-24 18:58:11 +0300
committerGitHub <noreply@github.com>2022-06-24 18:58:11 +0300
commitbe460ea9547691eb136bf8b600b67b778af47e3f (patch)
treeb74869ad39dd804aec31694d4dd429822c223644 /src/managers/KeybindManager.hpp
parent776ca3baf269059e8c13ba8b625645215e71f78c (diff)
parente7467c60f9fe9e66c74dd8dc7c752a73ed4bc4db (diff)
Merge branch 'hyprwm:main' into main
Diffstat (limited to 'src/managers/KeybindManager.hpp')
-rw-r--r--src/managers/KeybindManager.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp
index 782f2ead..c9132a11 100644
--- a/src/managers/KeybindManager.hpp
+++ b/src/managers/KeybindManager.hpp
@@ -11,6 +11,8 @@ struct SKeybind {
uint32_t modmask = 0;
std::string handler = "";
std::string arg = "";
+ bool locked = false;
+ std::string submap = "";
};
class CKeybindManager {
@@ -28,9 +30,9 @@ public:
private:
std::list<SKeybind> m_lKeybinds;
- bool handleInternalKeybinds(xkb_keysym_t);
+ inline static std::string m_szCurrentSelectedSubmap = "";
- inline static bool m_bSuppressWorkspaceChangeEvents = false;
+ bool handleInternalKeybinds(xkb_keysym_t);
// -------------- Dispatchers -------------- //
static void killActive(std::string);
@@ -56,8 +58,10 @@ private:
static void toggleSpecialWorkspace(std::string);
static void forceRendererReload(std::string);
static void resizeActive(std::string);
+ static void moveActive(std::string);
static void circleNext(std::string);
static void focusWindowByClass(std::string);
+ static void setSubmap(std::string);
friend class CCompositor;
};