[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.34,1.35
Arpi of Ize
arpi at mplayer.dev.hu
Mon Oct 22 16:20:13 CEST 2001
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv8134
Modified Files:
x11_common.c
Log Message:
-screenw/h patch by Tomi.Ollila at sonera.com
Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- x11_common.c 10 Oct 2001 01:48:23 -0000 1.34
+++ x11_common.c 22 Oct 2001 14:19:48 -0000 1.35
@@ -151,8 +151,10 @@
else
#endif
{
- vo_screenwidth=DisplayWidth( mDisplay,mScreen );
- vo_screenheight=DisplayHeight( mDisplay,mScreen );
+ if (! vo_screenwidth)
+ vo_screenwidth=DisplayWidth( mDisplay,mScreen );
+ if (! vo_screenheight)
+ vo_screenheight=DisplayHeight( mDisplay,mScreen );
}
// get color depth (from root window, or the best visual):
XGetWindowAttributes(mDisplay, mRootWin, &attribs);
More information about the MPlayer-cvslog
mailing list