mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 11:49:47 +01:00
input: don't reset cursor movement timer on simulateMouseMovement (#3595)
Fixes #2570
This commit is contained in:
parent
20e7ccd480
commit
784f8a88fb
1 changed files with 0 additions and 2 deletions
|
@ -41,8 +41,6 @@ void CInputManager::simulateMouseMovement() {
|
|||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
m_vLastCursorPosFloored = m_vLastCursorPosFloored - Vector2D(1, 1); // hack: force the mouseMoveUnified to report without making this a refocus.
|
||||
mouseMoveUnified(now.tv_sec * 1000 + now.tv_nsec / 10000000);
|
||||
|
||||
m_tmrLastCursorMovement.reset();
|
||||
}
|
||||
|
||||
void CInputManager::sendMotionEventsToFocused() {
|
||||
|
|
Loading…
Reference in a new issue