changeset 10889:73e064cfcbb7

fix aspect for gl2 fullscreen patch by Tristan Seligmann <mithrandi-mplayer-dev-eng@mithrandi.za.net>
author attila
date Sat, 20 Sep 2003 10:24:10 +0000
parents 0e940f364a6e
children 7777dded6caa
files libvo/x11_common.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sat Sep 20 10:10:11 2003 +0000
+++ b/libvo/x11_common.c	Sat Sep 20 10:24:10 2003 +0000
@@ -16,6 +16,7 @@
 #include <signal.h>
 
 #include "video_out.h"
+#include "aspect.h"
 #include "help_mp.h"
 
 #include <X11/Xmd.h>
@@ -699,6 +700,7 @@
            if ( vo_window == None ) break;
            vo_dwidth=Event.xconfigure.width;
            vo_dheight=Event.xconfigure.height;
+	   if (vo_fs) aspect(&vo_dwidth, &vo_dheight, A_ZOOM);
 #if 0
 	   /* when resizing, x and y are zero :( */
 	   vo_dx=Event.xconfigure.x;