projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48db305
)
waylandsink: Commit the parent after creating subsurface
author
Jeffy Chen
<jeffy.chen@rock-chips.com>
Mon, 25 Nov 2019 11:08:48 +0000
(19:08 +0800)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 26 Nov 2019 00:38:49 +0000
(
00:38
+0000)
We should commit the parent to activate new subsurface, this is
documented in the protocol.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
ext/wayland/wlwindow.c
patch
|
blob
|
history
diff --git
a/ext/wayland/wlwindow.c
b/ext/wayland/wlwindow.c
index 9ebbcaf4bb759cec5870b7b98f3338f50e427583..3249d8ec6ffebaf2822bc591189058b8d8325484 100644
(file)
--- 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;
}