diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-18 17:16:01 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-18 17:16:01 +0200 |
| commit | 7ae87a233c7c2c9c010f947f5d15f2968d03433b (patch) | |
| tree | e7c761c875a5f2cb05bec2f78caa375ef69beead /src/managers/KeybindManager.cpp | |
| parent | 8e14f3a08d47586f40233f3736b74fd5c021fe74 (diff) | |
Inhibit fixes
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 4a5cce5a..50d20524 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -32,6 +32,11 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const xkb_keysym_t if (handleInternalKeybinds(key)) return true; + if (g_pCompositor->m_sSeat.exclusiveClient){ + Debug::log(LOG, "Not handling keybinds due to there being an exclusive inhibited client."); + return false; + } + for (auto& k : m_dKeybinds) { if (modmask != k.modmask) continue; |
