summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-04 17:10:38 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-04 17:10:38 +0000
commitf0e84a0b236c46fe4da05fce52fcfaaba0d02c3f (patch)
tree3cb3eb0790c7c301f302b25bd6bec901fed86edd /libvo
parent9e2e3a1cb8daea51ea691b540c4b6feee074217b (diff)
downloadmpv-f0e84a0b236c46fe4da05fce52fcfaaba0d02c3f.tar.bz2
mpv-f0e84a0b236c46fe4da05fce52fcfaaba0d02c3f.tar.xz
Force window placement also if -xineramascreen was set >= 0,
not only if -geometry was given. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31315 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/video_out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index a014833e98..9eb0a577c8 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -356,6 +356,7 @@ int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height,
vo_dy = (int)(vo_screenheight - d_height) / 2;
geometry(&vo_dx, &vo_dy, &d_width, &d_height,
vo_screenwidth, vo_screenheight);
+ geometry_xy_changed |= xinerama_screen >= 0;
vo_dx += xinerama_x;
vo_dy += xinerama_y;
vo_dwidth = d_width;