Commit ba54de6e authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Don't use a surface if there is a client window.

We can't get clipping right for child windows if using a surface.
parent 849ea3d6
......@@ -2168,6 +2168,7 @@ void CDECL X11DRV_WindowPosChanging( HWND hwnd, HWND insert_after, UINT swp_flag
if (data->embedded) goto done;
if (data->whole_window == root_window) goto done;
if (data->client_window) goto done;
if (!client_side_graphics && !layered) goto done;
surface_rect = get_surface_rect( visible_rect );
......
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