summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r--video/out/x11_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 2ca2ea6574..5dc844da4d 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -1972,7 +1972,8 @@ bool vo_x11_check_visible(struct vo *vo) {
struct vo_x11_state *x11 = vo->x11;
struct mp_vo_opts *opts = x11->opts;
- bool render = !x11->hidden || VS_IS_DISP(opts->video_sync);
+ bool render = !x11->hidden || opts->force_render ||
+ VS_IS_DISP(opts->video_sync);
return render;
}