From: Jeffy Chen Date: Mon, 25 Nov 2019 11:08:48 +0000 (+0800) Subject: waylandsink: Commit the parent after creating subsurface X-Git-Tag: accepted/tizen/unified/20220217.153506~2^2~10^2~9^2~12^2~2^2~90^2~1^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94a1e5a8c3e16ca17cc419ae1db8661b9b38de25;p=platform%2Fupstream%2Fgstreamer.git waylandsink: Commit the parent after creating subsurface We should commit the parent to activate new subsurface, this is documented in the protocol. Signed-off-by: Jeffy Chen --- diff --git a/ext/wayland/wlwindow.c b/ext/wayland/wlwindow.c index 9ebbcaf..3249d8e 100644 --- a/ext/wayland/wlwindow.c +++ b/ext/wayland/wlwindow.c @@ -344,6 +344,8 @@ gst_wl_window_new_in_surface (GstWlDisplay * display, window->area_surface, parent); wl_subsurface_set_desync (window->area_subsurface); + wl_surface_commit (parent); + return window; }