summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.c
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2013-07-16 21:40:31 +0200
committerwm4 <wm4@nowhere>2013-07-18 14:17:30 +0200
commitc5b76714a0c9d57521b08e135f4f3c4e35c8b245 (patch)
tree7f83a7ccd45d3a9695ff112017ef33a65e718022 /video/out/wayland_common.c
parentc4b08a9a1149a83d7374eaea9863dd4c7cbd12d7 (diff)
downloadmpv-c5b76714a0c9d57521b08e135f4f3c4e35c8b245.tar.bz2
mpv-c5b76714a0c9d57521b08e135f4f3c4e35c8b245.tar.xz
wayland: don't resize in gl_wayland.c
The vo_wayland_fullscreen handles resizing for the video, because the video could still be in fullscreen mode and resizing it in gl_wayland could make it grow or shrink.
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r--video/out/wayland_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 3ca40fc3c1..e15b0c6f2f 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -695,8 +695,6 @@ void vo_wayland_uninit (struct vo *vo)
static void vo_wayland_ontop (struct vo *vo)
{
- struct vo_wayland_state *wl = vo->wayland;
-
vo->opts->ontop = !vo->opts->ontop;
vo->opts->fullscreen = !vo->opts->fullscreen;