server: Update the top clipping window's surface region if the window pixel format was cleared, too.

Ken Thomases ken at
Tue May 6 03:43:50 CDT 2014

On rare occasions, a window's pixel format can be cleared.  (For example, when
dlls/winex11.drv/opengl.c:set_gl_drawable_parent() fails to recreate the drawable.)
In the future, this will become a lot less rare with the WGL_WINE_surface extension.

When such a window is also its own top clipping window and never had any descendants
with pixel formats, the previous logic was failing to indicate that its surface
needed to be updated.  That resulted in the window failing to render.
server/window.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-server-Update-the-top-clipping-window-s-surface-regi.patch
Type: text/x-patch
Size: 1248 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list