diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-01-17 11:47:39 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-01-17 11:47:39 +0100 |
| commit | 5c83976977462696355c2099c48de72c4c11be59 (patch) | |
| tree | ae123b460f33acefb268d22e0500858e92d151e0 /src/managers/input/InputManager.cpp | |
| parent | 2ec7e241cd12d270757267beccd3e490ad6e3360 (diff) | |
added misc:hide_cursor_on_touch
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index d1f24884..4f201677 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -21,6 +21,8 @@ void CInputManager::onMouseMoved(wlr_pointer_motion_event* e) { mouseMoveUnified(e->time_msec); m_tmrLastCursorMovement.reset(); + + m_bLastInputTouch = false; } void CInputManager::onMouseWarp(wlr_pointer_motion_absolute_event* e) { @@ -29,6 +31,8 @@ void CInputManager::onMouseWarp(wlr_pointer_motion_absolute_event* e) { mouseMoveUnified(e->time_msec); m_tmrLastCursorMovement.reset(); + + m_bLastInputTouch = false; } void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { |
