diff options
author | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-20 10:24:10 +0000 |
---|---|---|
committer | attila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-20 10:24:10 +0000 |
commit | 00dc6152fc6e91ce13246925a00362428f13dd8c (patch) | |
tree | 65ac4d63b8d358a16c008e5b4ef013dfe53b38b4 /libvo/x11_common.c | |
parent | 6df04eae8592dab4e834c5a84a46acad2c636dbd (diff) | |
download | mpv-00dc6152fc6e91ce13246925a00362428f13dd8c.tar.bz2 mpv-00dc6152fc6e91ce13246925a00362428f13dd8c.tar.xz |
fix aspect for gl2 fullscreen
patch by Tristan Seligmann <mithrandi-mplayer-dev-eng@mithrandi.za.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10890 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index d86c80caba..330e03b48e 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -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 @@ int vo_x11_check_events(Display *mydisplay){ 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; |