[PATCH v2 1/4] explorer: Add a private message to notify the graphics driver when activity occurs.
Alexandre Julliard
julliard at winehq.org
Wed Jun 27 12:43:37 CDT 2018
Zebediah Figura <zfigura at codeweavers.com> writes:
> @@ -661,6 +665,11 @@ static LRESULT WINAPI desktop_wnd_proc( HWND hwnd, UINT message, WPARAM wp, LPAR
> }
> return 0;
>
> + case WM_WINE_NOTIFY_ACTIVITY:
> + if (wine_notify_activity)
> + wine_notify_activity();
> + return 0;
> +
> default:
> return DefWindowProcW( hwnd, message, wp, lp );
> }
I think it would be cleaner to have the drivers wrap the desktop winproc
so that we don't need to define new driver functions. The Android driver
already does this.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list