Skip to content

Commit

Permalink
input: send an empty relative event after constraint motion events
Browse files Browse the repository at this point in the history
ref #4015
  • Loading branch information
vaxerski committed Apr 15, 2024
1 parent 3dbf8e9 commit ccbdce7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/managers/input/InputManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ccbdce7

Please sign in to comment.