summaryrefslogtreecommitdiffstats
path: root/libvo/vo_corevideo.m
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_corevideo.m')
-rw-r--r--libvo/vo_corevideo.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/vo_corevideo.m b/libvo/vo_corevideo.m
index e4b5e85545..f2b29edfd2 100644
--- a/libvo/vo_corevideo.m
+++ b/libvo/vo_corevideo.m
@@ -115,6 +115,9 @@ static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src, unsigne
static void update_screen_info(void)
{
+ if (screen_id == -1 && xinerama_screen > -1)
+ screen_id = xinerama_screen;
+
screen_array = [NSScreen screens];
if(screen_id < (int)[screen_array count])
{