 
            Giving it a chance to process the WM_WINE_SETCURSOR message immediately even if the application later stops processing or waiting for messages for a while.
 
            From: Rémi Bernon rbernon@codeweavers.com
Giving it a chance to process the WM_WINE_SETCURSOR message immediately even if the application later stops processing or waiting for messages for a while.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58331 --- dlls/win32u/cursoricon.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/win32u/cursoricon.c b/dlls/win32u/cursoricon.c index dff7f646d6b..886540067be 100644 --- a/dlls/win32u/cursoricon.c +++ b/dlls/win32u/cursoricon.c @@ -123,6 +123,8 @@ HCURSOR WINAPI NtUserSetCursor( HCURSOR cursor ) SERVER_END_REQ; if (!ret) return 0;
+ check_for_events( QS_INPUT ); + if (!(obj = get_icon_ptr( old_cursor ))) return 0; release_user_handle_ptr( obj ); return old_cursor;

