summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2013-07-16 16:51:27 +0200
committerAlexander Preisinger <alexander.preisinger@gmail.com>2013-07-16 16:53:42 +0200
commitdc142991f12c379282d6c52e6d98333765767c3c (patch)
treeca6d228f3a84f27b932849c6e44dcdf9b94f3cff
parenta0f7fa4ac519a55f8975da1d1ca50f57fc3c4871 (diff)
downloadmpv-dc142991f12c379282d6c52e6d98333765767c3c.tar.bz2
mpv-dc142991f12c379282d6c52e6d98333765767c3c.tar.xz
wayland: use default fullscreen method
I misunderstood how the different methods work and if we set the size accordingly to the wayland configure event then METHOD_DEFAULT is what we want.
-rw-r--r--video/out/wayland_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index b3bc65d2ff..b78b283e9c 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -730,7 +730,7 @@ static void vo_wayland_fullscreen (struct vo *vo)
wl->window->p_width = wl->window->width;
wl->window->p_height = wl->window->height;
wl_shell_surface_set_fullscreen(wl->window->shell_surface,
- WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE,
+ WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT,
0, fs_output);
wl->window->type = TYPE_FULLSCREEN;