[PATCH 2/5] server: Use the helper to update the cursor last change time.
Huw Davies
huw at codeweavers.com
Thu Nov 19 07:09:28 CST 2020
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
server/queue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/queue.c b/server/queue.c
index 7e7e6fbdf29..935475b4c09 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -1737,7 +1737,7 @@ static int queue_mouse_message( struct desktop *desktop, user_handle_t win, cons
WM_MOUSEHWHEEL /* 0x1000 = MOUSEEVENTF_HWHEEL */
};
- desktop->cursor.last_change = get_tick_count();
+ update_desktop_cursor_pos( desktop, desktop->cursor.x, desktop->cursor.y ); /* Update last change time */
flags = input->mouse.flags;
time = input->mouse.time;
if (!time) time = desktop->cursor.last_change;
--
2.23.0
More information about the wine-devel
mailing list