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

Alexandre Julliard julliard at winehq.org
Mon Apr 6 05:23:19 CDT 2020


Paul Gofman <gofmanp at gmail.com> writes:

> Otherwise the window (partially) obscured by the other window sometimes fails
> to update when the obscuring window is moved or destroyed.

That's not correct, there shouldn't be any reason to repaint the entire
window when the contents are still valid.

Note that not flushing the bits right away is deliberate, that's a
performance fix. The window will get repainted when the app waits for a
new message.

If you have a real app where this is an issue, the heuristic could maybe
be tweaked to catch that case, cf. check_for_driver_events in
dlls/user32/message.c.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list