From 06114e728d83217284f373068ca9fa3eba9de5a7 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 20 Mar 2022 18:23:39 +0100 Subject: [PATCH] stop complaining --- src/managers/InputManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;