winex11.drv: remove double invalidate_dce in X11DRV_MapNotify, because SetWindowPos will trigger invalidate_dce for us.

Pierre d'Herbemont pdherbemont at free.fr
Fri Jan 26 05:18:57 CST 2007


---
  dlls/winex11.drv/winpos.c |    2 --
  1 files changed, 0 insertions(+), 2 deletions(-)
-------------- next part --------------
diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c
index 95afc40..8a6490a 100644
--- a/dlls/winex11.drv/winpos.c
+++ b/dlls/winex11.drv/winpos.c
@@ -756,8 +756,6 @@ void X11DRV_MapNotify( HWND hwnd, XEvent
         OffsetRect( &rect, virtual_screen_rect.left, virtual_screen_rect.top );
         X11DRV_X_to_window_rect( data, &rect );
 
-        invalidate_dce( hwnd, &data->window_rect );
-
         if (win->flags & WIN_RESTORE_MAX) style |= WS_MAXIMIZE;
         WIN_SetStyle( hwnd, style, WS_MINIMIZE );
         WIN_ReleasePtr( win );


More information about the wine-patches mailing list