# HG changeset patch # User atmos4 # Date 1015971095 0 # Node ID 8d793d9980c1af6d448a781917c65ec49ee4161b # Parent 534167719e91e276fca62a55a235f74e7e080d8e fix dga key handling diff -r 534167719e91 -r 8d793d9980c1 libvo/x11_common.c --- a/libvo/x11_common.c Tue Mar 12 18:02:02 2002 +0000 +++ b/libvo/x11_common.c Tue Mar 12 22:11:35 2002 +0000 @@ -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 );