[2/3] dinput: Prevent apps from hiding mouse cursor in the ConfigureDevices dialog.

Alexandre Julliard julliard at winehq.org
Tue Sep 13 02:27:20 CDT 2011


Lucas Fialho Zawacki <lfzawacki at gmail.com> writes:

> @@ -377,6 +377,12 @@ static INT_PTR CALLBACK ConfigureDevicesDlgProc(HWND dialog, UINT uMsg, WPARAM w
>              break;
>          }
>  
> +        case WM_ACTIVATE:
> +            /* Prevent mouse cursor from disappearing inside the dialog */
> +            ShowCursor(1);
> +
> +            break;

That will screw up the cursor show count, you can receive multiple
WM_ACTIVATE.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list