diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-19 21:48:24 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-19 21:48:24 +0100 |
| commit | 2e5435fe91d5e8273791737717a4c43675c51da9 (patch) | |
| tree | c560c6f559dd4f5b6d14a14055046983abdd7ea6 /src/managers/KeybindManager.cpp | |
| parent | 7b7ce638f41e706ca24147d680ff16b55d4f2dd0 (diff) | |
fix layout refresh on config and keybinds doubling
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 f61f6ac9..e1e77973 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -59,4 +59,8 @@ void CKeybindManager::spawn(std::string args) { void CKeybindManager::killActive(std::string args) { if (g_pCompositor->m_pLastFocus && g_pCompositor->windowValidMapped(g_pCompositor->m_pLastFocus)) g_pXWaylandManager->sendCloseWindow(g_pCompositor->m_pLastFocus); +} + +void CKeybindManager::clearKeybinds() { + m_dKeybinds.clear(); }
\ No newline at end of file |
