input: use fresh cursor pos when sending motion events (#13366)
This commit is contained in:
parent
457617b5a3
commit
5b2efe54b1
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ void CInputManager::sendMotionEventsToFocused() {
|
|||
|
||||
m_emptyFocusCursorSet = false;
|
||||
|
||||
g_pSeatManager->setPointerFocus(Desktop::focusState()->surface(), m_lastCursorPosFloored - BOX->pos());
|
||||
g_pSeatManager->setPointerFocus(Desktop::focusState()->surface(), getMouseCoordsInternal().floor() - BOX->pos());
|
||||
}
|
||||
|
||||
void CInputManager::mouseMoveUnified(uint32_t time, bool refocus, bool mouse, std::optional<Vector2D> overridePos) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue