1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00

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
This commit is contained in:
attila 2003-09-20 10:24:10 +00:00
parent 6df04eae85
commit 00dc6152fc

View File

@ -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;