We are preferring the thread input cursor over the global desktop
cursor, but if the thread input has no cursor yet, for instance when
thread is attached to another thread without a message queue yet,
it will end up being invisible.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55961
--
v3: server: Change desktop cursor only when inside the thread's windows.
server: Introduce a new get_desktop_cursor_thread_input helper.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4676
This fixes an issue seen in Outlook 365 where the password prompt appears to lock up.
Technically this fixes a regression introduced in 25906eedd8679fdb474976563f4a05a92e11bbd6, but I think Outlook had other issues that would have masked this one at the time.
--
v3: server: Always release internal hardware messages
https://gitlab.winehq.org/wine/wine/-/merge_requests/4726