[PATCH] wined3d: Fixes some windows to receive mouse clicks

Henri Verbeet hverbeet at gmail.com
Fri Dec 16 07:12:19 CST 2011


On 14 December 2011 23:45,  <qwerty0987654321 at mail.ru> wrote:
> @@ -871,6 +871,13 @@ static HRESULT swapchain_init(struct wined3d_swapchain *swapchain, WINED3DSURFTY
>     swapchain->win_handle = window;
>     swapchain->device_window = window;
>
> +    if (!desc->windowed && window)
> +    {
> +        wined3d_device_setup_fullscreen_window(device,window,
> +                desc->backbuffer_width,
> +                desc->backbuffer_height);
> +    }
> +
I don't think that's even close to a proper fix. Regardless, any patch
touching this part of the code should come with a test.



More information about the wine-devel mailing list