From dc142991f12c379282d6c52e6d98333765767c3c Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Tue, 16 Jul 2013 16:51:27 +0200 Subject: 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. --- video/out/wayland_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3