mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
waylandsink: Fix for missing initial configure
We were doing our initial "empty" commit on the subsurface instead of the toplevel surface. As an incidence, we should not have received a configure event ever, not just on mutter. This fixes the following warning when using mutter compositor (aka gnome-shell): waylandsink wlwindow.c:304:gst_wl_window_new_toplevel: The compositor did not send configure event. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2299>
This commit is contained in:
parent
a01883013a
commit
56b56e43f3
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ gst_wl_window_new_toplevel (GstWlDisplay * display, const GstVideoInfo * info,
|
||||||
|
|
||||||
/* Finally, commit the xdg_surface state as toplevel */
|
/* Finally, commit the xdg_surface state as toplevel */
|
||||||
window->configured = FALSE;
|
window->configured = FALSE;
|
||||||
wl_surface_commit (window->video_surface);
|
wl_surface_commit (window->area_surface);
|
||||||
wl_display_flush (display->display);
|
wl_display_flush (display->display);
|
||||||
|
|
||||||
g_mutex_lock (&window->configure_mutex);
|
g_mutex_lock (&window->configure_mutex);
|
||||||
|
|
Loading…
Reference in a new issue