Commit 3cd66cf7 authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Don't copy window bits to or from the dummy surface.

parent 466961f2
......@@ -2091,6 +2091,12 @@ BOOL set_window_pos( HWND hwnd, HWND insert_after, UINT swp_flags,
old_client_rect = win->client_rect;
old_surface = win->surface;
if (old_surface != new_surface) swp_flags |= SWP_FRAMECHANGED; /* force refreshing non-client area */
if (new_surface == &dummy_surface) swp_flags |= SWP_NOREDRAW;
else if (old_surface == &dummy_surface)
{
swp_flags |= SWP_NOCOPYBITS;
valid_rects = NULL;
}
SERVER_START_REQ( set_window_pos )
{
......
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