diff options
author | Vaxry <[email protected]> | 2024-04-15 17:22:25 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-04-15 17:22:25 +0100 |
commit | ccbdce7c8528781020b39ddf4498277df5e5e78d (patch) | |
tree | 39a1d8f6ccdf36cbd88761f89d25bf3ae4355e46 | |
parent | 3dbf8e936e5646d2e935509399f430fec850398a (diff) | |
download | Hyprland-ccbdce7c8528781020b39ddf4498277df5e5e78d.tar.gz Hyprland-ccbdce7c8528781020b39ddf4498277df5e5e78d.zip |
input: send an empty relative event after constraint motion events
ref #4015
-rw-r--r-- | src/managers/input/InputManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index c003b08f..60e4270d 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -159,6 +159,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { wlr_cursor_warp(g_pCompositor->m_sWLRCursor, nullptr, CLOSEST.x, CLOSEST.y); wlr_seat_pointer_send_motion(g_pCompositor->m_sSeat.seat, time, CLOSESTLOCAL.x, CLOSESTLOCAL.y); + wlr_relative_pointer_manager_v1_send_relative_motion(g_pCompositor->m_sWLRRelPointerMgr, g_pCompositor->m_sSeat.seat, (uint64_t)time * 1000, 0, 0, 0, 0); } return; |