summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-12 22:11:35 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-12 22:11:35 +0000
commitaf9d49611e8bbad7046d72da701e2428a5acf794 (patch)
treef01f0cb2d46f5a35e0644c994dbb9a171726eb23
parentb7180c614af049fd4e266399700c78808d57885b (diff)
downloadmpv-af9d49611e8bbad7046d72da701e2428a5acf794.tar.bz2
mpv-af9d49611e8bbad7046d72da701e2428a5acf794.tar.xz
fix dga key handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5057 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/x11_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index b8bb7e6945..832d81cad7 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -461,7 +461,7 @@ int vo_x11_check_events(Display *mydisplay){
#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 @@ void vo_x11_fullscreen( void )
}
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 );