[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH v2 1/4] explorer: Add a private message to notify the graphics driver when activity occur
From:       Zebediah Figura <zfigura () codeweavers ! com>
Date:       2018-06-28 15:43:52
Message-ID: 3ee5f8a2-649a-4099-a5f0-7a159ad0a651 () codeweavers ! com
[Download RAW message or body]

On 27/06/18 19:43, Alexandre Julliard wrote:
> Zebediah Figura <zfigura@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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic