winex11.drv: Make sure to erase the dragging frame before moving the window.

This commit is contained in:
Alexandre Julliard 2007-11-21 13:22:42 +01:00
parent 113f573b25
commit d4e1debee7
1 changed files with 6 additions and 0 deletions

View File

@ -1454,7 +1454,13 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
}
}
else if (moved && !DragFullWindows)
{
draw_moving_frame( hdc, &sizingRect, thickframe );
/* make sure the moving frame is erased before we move the window */
wine_tsx11_lock();
XFlush( gdi_display );
wine_tsx11_unlock();
}
ReleaseDC( parent, hdc );