summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 079662bafd..3e827dac14 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -245,6 +245,7 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t
srcW= width;
srcH= height;
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_dwidth=d_width; vo_dheight=d_height;
if( flags&0x03 ) fullscreen = 1;