summaryrefslogtreecommitdiffstats
path: root/video/out/vo_wlshm.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_wlshm.c')
-rw-r--r--video/out/vo_wlshm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_wlshm.c b/video/out/vo_wlshm.c
index 43a1318c8d..a517d0f09d 100644
--- a/video/out/vo_wlshm.c
+++ b/video/out/vo_wlshm.c
@@ -248,7 +248,7 @@ static void draw_image(struct vo *vo, struct mp_image *src)
struct vo_wayland_state *wl = vo->wl;
struct buffer *buf;
- if (wl->frame_wait)
+ if (wl->hidden)
return;
wl->frame_wait = true;