server: Send WM_WINE_SETCURSOR with the thread input cursor handle.
commit2581e0b3eab4638b8aa00be9e66543b7e39f3dc6
authorRémi Bernon <rbernon@codeweavers.com>
Tue, 10 Oct 2023 16:11:43 +0000 (10 18:11 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 11 Oct 2023 18:30:04 +0000 (11 20:30 +0200)
tree2b2cc1527280a78031cf549dae702f3683c4cf02
parent70c9239cb2eef696eea109f3f8e7a58f80cd3823
server: Send WM_WINE_SETCURSOR with the thread input cursor handle.

Which may be different from the last desktop cursor handle.

This makes the behavior better match the old winex11 behavior, which queried
the current thread input cursor handle on every mouse move to sync it with X11,
although it contradicts MSDN documentation which states that the cursor handle
is global.

This fixes the X11 cursor being visible in "Deus Ex: GOTY Edition".
server/queue.c