4164535e
by Rémi Bernon at 2026-01-06T14:56:10+01:00
win32u: Update client surface state before swapping or presenting.
With winex11, when multiple client surfaces are being active at the same
time, we are detaching / attaching the client surfaces to keep the last
one onscreen.
This is done within the client_surface_present call, and it was called
from within opengl_drawable_flush, before GL swap.
Since bcb1f3d29562edabfd089bedb539cf2295a5e6a8 we don't call the flush
callback as often and we only call client_surface_present *after* the
VK present / GL swap, which breaks the display as the surface is not
offscreen and yet not attached to its parent.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59190