diff options
author | Alexander Preisinger <alexander.preisinger@gmail.com> | 2014-02-11 18:10:05 +0100 |
---|---|---|
committer | Alexander Preisinger <alexander.preisinger@gmail.com> | 2014-02-11 18:11:14 +0100 |
commit | 0670c541a586d3e7061ab2d86a3b663d380f6cb2 (patch) | |
tree | 0631a1879b52dd0e34e5bf67b7027dd1c6957d90 /video/out | |
parent | 157d470b31ed5758a16753de72ef84f136da91d2 (diff) | |
download | mpv-0670c541a586d3e7061ab2d86a3b663d380f6cb2.tar.bz2 mpv-0670c541a586d3e7061ab2d86a3b663d380f6cb2.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/out')
-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 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 { |