Skip to content

Draft: win32u: Reset surface clip region if it matches the visible rect.

Rémi Bernon requested to merge rbernon/wine:mr/winex11-avoid-erase into master

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57665

With an empty clipping region, when the window is being shown, the Expose event we receive is ignored by expose_window_surface, assuming there's no redraw necessary. If a clipping region is set, we call NtUserRedrawWindow with RDW_ERASE which clears the window.

Merge request reports

Loading