[PATCH] winex11.drv: Redraw window on Expose event if window surface has no region set.

Alexandre Julliard julliard at winehq.org
Mon Apr 6 10:58:08 CDT 2020


Paul Gofman <gofmanp at gmail.com> writes:

> On 4/6/20 16:59, Alexandre Julliard wrote:
>> Yes, except it should be done by setting a pixel format on the window.
>>
> That is already done for the ddraw window itself, but of course not for
> the other windows (dialogs and its controls) for which the game expects
> certain _PAINT messages. Do you think we can set pixel format on all the
> windows owned or created by the application when going exclusive
> fullscreen mode, or am I missing something? I am not yet sure how that
> could work for a general case as in theory application could have set
> some pixel format explicitly on some windows and expect that to be
> preserved.

If the other windows can't be painted normally, user32 will have to be
told about it. The pixel format is the existing mechanism, but if that's
not good enough we could add a different one of course.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list