summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-rw-r--r--video/out/wayland_common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 6f149d4753..0a02ee2bf8 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -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);
}