mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 02:05:58 +01:00
stop complaining
This commit is contained in:
parent
0eba018c8b
commit
06114e728d
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ void CInputManager::onMouseButton(wlr_event_pointer_button* e) {
|
||||||
|
|
||||||
switch (e->state) {
|
switch (e->state) {
|
||||||
case WLR_BUTTON_PRESSED:
|
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();
|
currentlyDraggedWindow = g_pCompositor->windowFloatingFromCursor();
|
||||||
dragButton = e->button;
|
dragButton = e->button;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue