diff options
author | Vaxry <[email protected]> | 2024-01-27 13:58:13 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-01-27 13:58:28 +0000 |
commit | 7b3d03938888f399c3c14adfce73ea22bbe461ea (patch) | |
tree | 871448bf8b8b3a942629793af27132686247a3ed /src/managers/input/InputManager.cpp | |
parent | 12d79d63421e2ed3f31130755c7a37f0e4fb5cb1 (diff) | |
download | Hyprland-7b3d03938888f399c3c14adfce73ea22bbe461ea.tar.gz Hyprland-7b3d03938888f399c3c14adfce73ea22bbe461ea.zip |
deps: update wlroots
drops requirement for WLR_DRM_NO_ATOMIC provided kernel >= 6.8
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r-- | src/managers/input/InputManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 8a98fe67..2c46cf85 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -695,7 +695,8 @@ void CInputManager::onMouseWheel(wlr_pointer_axis_event* e) { return; } - wlr_seat_pointer_notify_axis(g_pCompositor->m_sSeat.seat, e->time_msec, e->orientation, factor * e->delta, std::round(factor * e->delta_discrete), e->source); + wlr_seat_pointer_notify_axis(g_pCompositor->m_sSeat.seat, e->time_msec, e->orientation, factor * e->delta, std::round(factor * e->delta_discrete), e->source, + WLR_AXIS_RELATIVE_DIRECTION_IDENTICAL); } Vector2D CInputManager::getMouseCoordsInternal() { |