[Mplayer-cvslog] CVS: main/libvo vo_xmga.c,1.27,1.28
Zoltan Ponekker
pontscho at mplayer.dev.hu
Thu Aug 30 22:13:20 CEST 2001
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv766
Modified Files:
vo_xmga.c
Log Message:
fix gui support
Index: vo_xmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xmga.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- vo_xmga.c 27 Aug 2001 23:56:44 -0000 1.27
+++ vo_xmga.c 30 Aug 2001 20:13:14 -0000 1.28
@@ -87,7 +87,7 @@
static uint32_t drwX,drwY,drwWidth,drwHeight,drwBorderWidth,drwDepth;
static uint32_t drwcX,drwcY,dwidth,dheight,mFullscreen;
-#ifdef HAVE_GUI
+#ifdef HAVE_NEW_GUI
static uint32_t mdwidth,mdheight;
#endif
@@ -97,7 +97,6 @@
static void mDrawColorKey( void )
{
- XClearWindow( mDisplay,mWindow );
XSetForeground( mDisplay,mGC,fgColor );
XFillRectangle( mDisplay,mWindow,mGC,drwX,drwY,drwWidth,(mFullscreen?drwHeight - 1:drwHeight) );
XFlush( mDisplay );
@@ -110,7 +109,7 @@
XTranslateCoordinates( mDisplay,mWindow,mRoot,0,0,&drwcX,&drwcY,&mRoot );
fprintf( stderr,"[xmga] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
- #ifdef HAVE_GUI
+ #ifdef HAVE_NEW_GUI
if ( vo_window != None )
{
mFullscreen=0;
@@ -235,7 +234,7 @@
wndX=0; wndY=0;
wndWidth=d_width; wndHeight=d_height;
dwidth=d_width; dheight=d_height;
- #ifdef HAVE_GUI
+ #ifdef HAVE_NEW_GUI
mdwidth=d_width; mdheight=d_height;
#endif
mFullscreen=fullscreen&1;
More information about the MPlayer-cvslog
mailing list