From 0670c541a586d3e7061ab2d86a3b663d380f6cb2 Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Tue, 11 Feb 2014 18:10:05 +0100 Subject: wayland/shm: prevent the window from flying away With the new xdg_shell the problem will be no gone by itself. --- video/out/vo_wayland.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video') 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 { -- cgit v1.2.3