[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.58,1.59

Atmosfear atmos4 at mplayer.dev.hu
Tue Mar 12 23:11:50 CET 2002


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv6334/libvo

Modified Files:
	x11_common.c 
Log Message:
fix dga key handling

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- x11_common.c	10 Mar 2002 08:16:07 -0000	1.58
+++ x11_common.c	12 Mar 2002 22:11:35 -0000	1.59
@@ -461,7 +461,7 @@
    #ifdef HAVE_NEW_GUI
     if ( use_gui ) guiGetEvent( 0,(char*)&Event );
    #endif
-   if ( vo_window == Event.xany.window )
+   //if ( vo_window == Event.xany.window ) // removed because it does not work with DGA ::atmos
     switch( Event.type )
      {
       case Expose:
@@ -539,12 +539,14 @@
    }
    vo_dx=0;        vo_dy=0;        vo_dwidth=vo_screenwidth; vo_dheight=vo_screenheight;
    vo_x11_decoration( mDisplay,vo_window,0 );
+printf("dendeco! \n");
   }
   else
    {
     vo_fs=VO_FALSE;
     vo_dx=vo_old_x; vo_dy=vo_old_y; vo_dwidth=vo_old_width; vo_dheight=vo_old_height;
     vo_x11_decoration( mDisplay,vo_window,1 );
+printf("reendeco! \n");
    }
  vo_x11_sizehint( vo_dx,vo_dy,vo_dwidth,vo_dheight );
  XMoveResizeWindow( mDisplay,vo_window,vo_dx,vo_dy,vo_dwidth,vo_dheight );




More information about the MPlayer-cvslog mailing list