diff options
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r-- | libvo/vo_xv.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 08d5e958f1..622111f1d8 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -190,10 +190,13 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, int_pause = 0; visible_buf = -1; + update_xinerama_info(); vo_dx = (vo_screenwidth - d_width) / 2; vo_dy = (vo_screenheight - d_height) / 2; geometry(&vo_dx, &vo_dy, &d_width, &d_height, vo_screenwidth, vo_screenheight); + vo_dx += xinerama_x; + vo_dy += xinerama_y; vo_dwidth = d_width; vo_dheight = d_height; @@ -222,7 +225,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, if (!xv_format) return -1; } - aspect_save_screenres(vo_screenwidth, vo_screenheight); #ifdef HAVE_NEW_GUI if (use_gui) @@ -348,12 +350,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, XMapWindow(mDisplay, vo_window); if (flags & VOFLAG_FULLSCREEN) vo_x11_fullscreen(); - else - { -#ifdef HAVE_XINERAMA - vo_x11_xinerama_move(mDisplay, vo_window); -#endif - } } else { // vo_fs set means we were already at fullscreen |