mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 03:51:48 +00:00
wayland: don't change set fullscreen twice
Newest weston chrashes if we call set_fullscreen twice. This is a major bug I which I should probably report.
This commit is contained in:
parent
4350a76a01
commit
e947c72fe9
@ -810,7 +810,7 @@ static void vo_wayland_border (struct vo *vo)
|
||||
static void vo_wayland_fullscreen (struct vo *vo)
|
||||
{
|
||||
struct vo_wayland_state *wl = vo->wayland;
|
||||
if (!wl->display.shell)
|
||||
if (!wl->display.shell || !!vo->opts->fullscreen == wl->window.is_fullscreen)
|
||||
return;
|
||||
|
||||
struct wl_output *fs_output = wl->display.fs_output;
|
||||
|
Loading…
Reference in New Issue
Block a user