[PATCH] Paint count in SetWindowPos
Gerard Patel
gerard.patel at nerim.net
Tue Nov 13 18:02:28 CST 2001
Follow-up on the 'Regressions errors' thread on wine-devel
ChangeLog:
* dlls/x11drv/winpos.c
Tries to fix the server paint count in SetWindowPos
-------------- next part --------------
Index: dlls/x11drv/winpos.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/winpos.c,v
retrieving revision 1.33
diff -u -r1.33 winpos.c
--- dlls/x11drv/winpos.c 2001/11/07 23:19:42 1.33
+++ dlls/x11drv/winpos.c 2001/11/13 21:16:40
@@ -883,10 +883,10 @@
if (!(winpos->flags & SWP_SHOWWINDOW) && (winpos->flags & SWP_HIDEWINDOW))
{
- WIN_SetStyle( winpos->hwnd, wndPtr->dwStyle & ~WS_VISIBLE );
/* clear the update region */
-// RedrawWindow( winpos->hwnd, NULL, 0, RDW_VALIDATE | RDW_NOFRAME |
-// RDW_NOERASE | RDW_NOINTERNALPAINT | RDW_ALLCHILDREN );
+ RedrawWindow( winpos->hwnd, NULL, 0, RDW_VALIDATE | RDW_NOFRAME |
+ RDW_NOERASE | RDW_NOINTERNALPAINT | RDW_ALLCHILDREN );
+ WIN_SetStyle( winpos->hwnd, wndPtr->dwStyle & ~WS_VISIBLE );
}
else if ((wndPtr->dwStyle & WS_VISIBLE) &&
!IsRectEmpty( &oldWindowRect ) && IsRectEmpty( &newWindowRect ))
-------------- next part --------------
More information about the wine-patches
mailing list