summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/wayland_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index e45483c5f2..f73dc0c2ca 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -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;