http://bugs.winehq.org/show_bug.cgi?id=881
------- Additional Comments From gbrammer@gmx.de 2007-21-02 10:49 ------- My patch from comment #9 caused the cursor to flicker in other apps. This one does not, although I still have no idea why this fixes anything :-)
--- a/dlls/user32/cursoricon.c +++ b/dlls/user32/cursoricon.c @@ -1459,8 +1459,9 @@ HCURSOR WINAPI SetCursor( HCURSOR hCursor /* [in] Handle of cursor to show */ ) struct user_thread_info *thread_info = get_user_thread_info(); HCURSOR hOldCursor;
- if (hCursor == thread_info->cursor) return hCursor; /* No change */ - TRACE("%p\n", hCursor); + if (hCursor && hCursor == thread_info->cursor) return hCursor; /* No change */ + TRACE("%p (was %p)\n", hCursor, thread_info->cursor); + hOldCursor = thread_info->cursor; thread_info->cursor = hCursor; /* Change the cursor shape only if it is visible */