[PATCH v2 1/4] explorer: Add a private message to notify the graphics driver when activity occurs.
Zebediah Figura
zfigura at codeweavers.com
Thu Jun 28 10:43:52 CDT 2018
On 27/06/18 19:43, Alexandre Julliard wrote:
> 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.
>
Thanks; I'll look into this.
More information about the wine-devel
mailing list