This fixes Dirt Rally 2 not being able to hide the mouse or having it flickering and triggering stutter.
The game hides mouse with SetCursor(NULL) when appropriate, but also always shows it with SetCursor(cursor) upon receiving WM_MOUSEMOVE. Also, the game is constantly sending mouse events with SendInput() with zero relative movement. On an older Wine (before 9) and also on modern Windows that doesn't result in mouse move sequence (WM_NCHITTEST, WM_SETCURSORPOS, WM_MOUSEMOVE), as well as sending mouse input with absolute coordinates which match current. While still results in WM_INPUT messages if rawinput is configured for window.