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, 3 insertions, 0 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 8d03c43af3..d6ecf4969c 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -473,6 +473,9 @@ static void vo_x11_update_screeninfo(struct vo *vo)
XineramaScreenInfo *screens;
int num_screens;
+ if (opts->fullscreen && opts->fsscreen_id == -1)
+ screen = opts->screen_id;
+
screens = XineramaQueryScreens(x11->display, &num_screens);
if (screen >= num_screens)
screen = num_screens - 1;