summaryrefslogtreecommitdiff
path: root/src/managers/InputManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-20 18:23:39 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-20 18:23:39 +0100
commit06114e728d83217284f373068ca9fa3eba9de5a7 (patch)
tree83227805362434c5cf2b284c8ec2ed1ef6775b5b /src/managers/InputManager.cpp
parent0eba018c8bb0a11187e6fcf04e37ccc52af04d84 (diff)
stop complaining
Diffstat (limited to 'src/managers/InputManager.cpp')
-rw-r--r--src/managers/InputManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp
index 636fb748..530e1fd9 100644
--- a/src/managers/InputManager.cpp
+++ b/src/managers/InputManager.cpp
@@ -74,7 +74,7 @@ void CInputManager::onMouseButton(wlr_event_pointer_button* e) {
switch (e->state) {
case WLR_BUTTON_PRESSED:
- if ((e->button == BTN_LEFT || e->button == BTN_RIGHT) && wlr_keyboard_get_modifiers(PKEYBOARD) == g_pConfigManager->getInt("general:main_mod_internal")) {
+ if ((e->button == BTN_LEFT || e->button == BTN_RIGHT) && wlr_keyboard_get_modifiers(PKEYBOARD) == (uint32_t)g_pConfigManager->getInt("general:main_mod_internal")) {
currentlyDraggedWindow = g_pCompositor->windowFloatingFromCursor();
dragButton = e->button;