summaryrefslogtreecommitdiffstats
path: root/video/out/vo_wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_wayland.c')
-rw-r--r--video/out/vo_wayland.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c
index b4a2c8c8c7..ffea858a42 100644
--- a/video/out/vo_wayland.c
+++ b/video/out/vo_wayland.c
@@ -487,6 +487,8 @@ static void frame_handle_redraw(void *data,
if (p->resize_attach) {
destroy_shm_buffer(&p->tmp_buffer);
p->resize_attach = false;
+ p->x = 0;
+ p->y = 0;
}
}
else {