Commit 34f392bc authored by Alexandros Frantzis's avatar Alexandros Frantzis Committed by Alexandre Julliard

winewayland.drv: Apply client subsurface position on creation.

We cannot depend on the main surface being committed to after the client subsurface is created, so perform a commit to ensure the subsurface position takes effect on creation.
parent dc35c8a7
......@@ -820,6 +820,8 @@ struct wayland_client_surface *wayland_surface_get_client(struct wayland_surface
}
wayland_surface_reconfigure_client(surface);
/* Commit to apply subsurface positioning. */
wl_surface_commit(surface->wl_surface);
return surface->client;
......
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