Skip to content

Commit 2ad46a3

Browse files
committed
vo_dmabuf_wayland: place video surface on the top
For rounding reasons, we should have the surface with the video on the top. Rounding subsurfaces is tricky business that we don't need to get into.
1 parent 1301fdb commit 2ad46a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

video/out/wayland_common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4472,6 +4472,7 @@ bool vo_wayland_init(struct vo *vo)
44724472
if (wl->subcompositor) {
44734473
wl->osd_subsurface = wl_subcompositor_get_subsurface(wl->subcompositor, wl->osd_surface, wl->video_surface);
44744474
wl->video_subsurface = wl_subcompositor_get_subsurface(wl->subcompositor, wl->video_surface, wl->surface);
4475+
wl_subsurface_place_above(wl->video_subsurface, wl->surface);
44754476
}
44764477

44774478
#if HAVE_WAYLAND_PROTOCOLS_1_41

0 commit comments

Comments
 (0)