changeset 5056:8d793d9980c1

fix dga key handling
author atmos4
date Tue, 12 Mar 2002 22:11:35 +0000
parents 534167719e91
children 70878c8927bd
files libvo/x11_common.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 );