[PATCH 2/5] server: Use the helper to update the cursor last change time.
19 Nov
2020
19 Nov
'20
1:09 p.m.
Signed-off-by: Huw Davies <huw(a)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
1940
Age (days ago)
1940
Last active (days ago)
0 comments
1 participants
participants (1)
-
Huw Davies