Commit d4e1debe authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 113f573b
...@@ -1454,7 +1454,13 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam ) ...@@ -1454,7 +1454,13 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
} }
} }
else if (moved && !DragFullWindows) else if (moved && !DragFullWindows)
{
draw_moving_frame( hdc, &sizingRect, thickframe ); 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 ); ReleaseDC( parent, hdc );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment