diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-03-04 23:07:16 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-03-04 23:07:16 +0000 |
| commit | 7a76ab01d16cdeb3bbb11449476d2b8ad84a3fda (patch) | |
| tree | 1a8e76b3a182aabaa07a68da0c0d3259cecb76fa /src/managers/input/InputManager.cpp | |
| parent | f3c92e75c8746901898b59abf2a1412bb16cbb54 (diff) | |
input: send motion to confined cursors
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -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 d8013d75..b988df5e 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -155,6 +155,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { const auto CLOSESTLOCAL = CLOSEST - (BOX.has_value() ? BOX->pos() : Vector2D{}); 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); } return; |
