summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-25 14:06:49 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-25 14:06:49 +0200
commit3e6abaf680ac85daacc677836655e9aa222b1528 (patch)
tree9e1d54eb81d3f294bded73b0b330a92d6a354cde /src/managers/KeybindManager.cpp
parent6dc8c4b31048d225e20008553a3998b543399c49 (diff)
fix some swipe issues
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index 62a4ed3b..8ea38088 100644
--- a/src/managers/KeybindManager.cpp
+++ b/src/managers/KeybindManager.cpp
@@ -193,7 +193,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const std::string&
return found;
}
-void CKeybindManager::shadowKeybinds(const xkb_keysym_t& doesntHave, const uint32_t& doesntHaveCode) {
+void CKeybindManager::shadowKeybinds(const xkb_keysym_t& doesntHave, const int& doesntHaveCode) {
// shadow disables keybinds after one has been triggered
for (auto& k : m_lKeybinds) {
@@ -215,7 +215,7 @@ void CKeybindManager::shadowKeybinds(const xkb_keysym_t& doesntHave, const uint3
}
for (auto& pk : m_dPressedKeycodes) {
- if (pk == (unsigned int)k.keycode) {
+ if (pk == k.keycode) {
shadow = true;
}