diff options
author | Alexander Preisinger <alexander.preisinger@gmail.com> | 2014-02-11 18:10:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-12 22:34:09 +0100 |
commit | a8af6a7852c0ab66c7b68029afcf92985af62c75 (patch) | |
tree | bcc7bfd10d705de48830e64271afe444f26ec106 /video | |
parent | 960aca3386af6a74ea5d59a2f630bab891fc9abf (diff) | |
download | mpv-a8af6a7852c0ab66c7b68029afcf92985af62c75.tar.bz2 mpv-a8af6a7852c0ab66c7b68029afcf92985af62c75.tar.xz |
wayland/shm: prevent the window from flying away
With the new xdg_shell the problem will be no gone by itself.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_wayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c index 6845f5083e..22ccb2118c 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 { |