summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/wayland_common.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 7c8bfe442c..4e9958d79e 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -795,15 +795,6 @@ static void schedule_resize(struct vo_wayland_state *wl,
wl->window.events |= VO_EVENT_RESIZE;
wl->vo->dwidth = width;
wl->vo->dheight = height;
-
- struct wl_region *region = wl_compositor_create_region(wl->display.compositor);
-
- if (region) {
- wl_region_add(region, x, y, width, height);
- wl_surface_set_opaque_region(wl->window.video_surface, region);
- wl_surface_commit(wl->window.video_surface);
- wl_region_destroy(region);
- }
}
static void frame_callback(void *data,