1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 14:12:10 +00:00

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.
This commit is contained in:
Alexander Preisinger 2013-07-16 16:51:27 +02:00
parent a0f7fa4ac5
commit dc142991f1

View File

@ -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;