mirror of https://github.com/mpv-player/mpv
wayland: remove redundant line
This commit is contained in:
parent
f175f2c38f
commit
6ec39b4641
|
@ -950,7 +950,6 @@ static void vo_wayland_fullscreen (struct vo *vo)
|
|||
else {
|
||||
MP_DBG(wl, "leaving fullscreen\n");
|
||||
wl->window.is_fullscreen = false;
|
||||
wl_shell_surface_set_toplevel(wl->window.shell_surface);
|
||||
window_set_toplevel(wl);
|
||||
schedule_resize(wl, 0, wl->window.p_width, wl->window.p_height);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue