diff options
| author | vaxerski <vaxry@vaxry.net> | 2024-09-24 11:25:05 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2024-09-24 11:25:05 +0100 |
| commit | 00c862686354d139a53222d41a1c80d698a50c43 (patch) | |
| tree | c19b7739a03b98f83890268ef250558b1bad28ff /src/managers/KeybindManager.cpp | |
| parent | 0a211f29f5952322925b9f982cbf9b0326d45f0f (diff) | |
hyprctl: add submap request
fixes #7898
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index dd35bc19..02e2f5e7 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -594,6 +594,10 @@ eMultiKeyCase CKeybindManager::mkBindMatches(const SKeybind keybind) { return mkKeysymSetMatches(keybind.sMkKeys, m_sMkKeys); } +std::string CKeybindManager::getCurrentSubmap() { + return m_szCurrentSelectedSubmap; +} + SDispatchResult CKeybindManager::handleKeybinds(const uint32_t modmask, const SPressedKeyWithMods& key, bool pressed) { static auto PDISABLEINHIBIT = CConfigValue<Hyprlang::INT>("binds:disable_keybind_grabbing"); bool found = false; |
