diff options
author | Alexander Preisinger <alexander.preisinger@gmail.com> | 2013-07-16 16:51:27 +0200 |
---|---|---|
committer | Alexander Preisinger <alexander.preisinger@gmail.com> | 2013-07-16 16:53:42 +0200 |
commit | dc142991f12c379282d6c52e6d98333765767c3c (patch) | |
tree | ca6d228f3a84f27b932849c6e44dcdf9b94f3cff /video/out/wayland_common.c | |
parent | a0f7fa4ac519a55f8975da1d1ca50f57fc3c4871 (diff) | |
download | mpv-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.
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r-- | video/out/wayland_common.c | 2 |
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; |