waylandsink: Commit the parent after creating subsurface
[platform/upstream/gstreamer.git] / ext / wayland / wlwindow.c
index 9ebbcaf..3249d8e 100644 (file)
@@ -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;
 }