Index: dlls/x11drv/winpos.c =================================================================== RCS file: /home/wine/wine/dlls/x11drv/winpos.c,v retrieving revision 1.133 diff -u -p -r1.133 winpos.c --- dlls/x11drv/winpos.c 25 Mar 2005 16:47:04 -0000 1.133 +++ dlls/x11drv/winpos.c 5 May 2005 19:36:14 -0000 @@ -737,6 +797,9 @@ BOOL X11DRV_SetWindowPos( WINDOWPOS *win SetForegroundWindow( winpos->hwnd ); } + if ((winpos->flags & SWP_SHOWWINDOW) && !(winpos->flags & SWP_DEFERERASE)) + RedrawWindow ( winpos->hwnd, NULL, 0, RDW_ERASENOW | RDW_ERASE | RDW_INVALIDATE | RDW_FRAME | RDW_NOCHILDREN ); + /* And last, send the WM_WINDOWPOSCHANGED message */ TRACE("\tstatus flags = %04x\n", winpos->flags & SWP_AGG_STATUSFLAGS);