[PATCH 2/6] wined3d: Minimize device windows on focus loss (v3).

Henri Verbeet hverbeet at gmail.com
Thu Nov 13 04:44:36 CST 2014


On 12 November 2014 22:15, Stefan Dösinger <stefan at codeweavers.com> wrote:
> +void wined3d_swapchain_activate(struct wined3d_swapchain *swapchain, BOOL activate)
> +{
> +    if (!activate && !(swapchain->device->create_parms.flags & WINED3DCREATE_NOWINDOWCHANGES))
> +        ShowWindow(swapchain->device_window, SW_MINIMIZE);
> +}
This patch is mostly just blocked by the tests failing, but I'd also
have to wonder if the window proc should be installed in the first
place if the device is created with NOWINDOWCHANGES.



More information about the wine-devel mailing list