[Mplayer-cvslog] CVS: main/libvo vo_xmga.c,1.38,1.39

Zoltan Ponekker pontscho at mplayer.dev.hu
Tue Jan 22 13:00:32 CET 2002


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

Modified Files:
	vo_xmga.c 
Log Message:
move bug fixed

Index: vo_xmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xmga.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- vo_xmga.c	6 Jan 2002 21:07:20 -0000	1.38
+++ vo_xmga.c	22 Jan 2002 12:00:15 -0000	1.39
@@ -177,19 +177,12 @@
 
 static void check_events(void)
 {
-    int e=vo_x11_check_events(mDisplay);
-
-    if(e&VO_EVENT_RESIZE){
-         set_window();
-         if ( ioctl( f,MGA_VID_CONFIG,&mga_vid_config ) )
-          {
-           printf( "Error in mga_vid_config ioctl (wrong mga_vid.o version?)" );
-//           exit( 0 );
-          }
-
-    } else
-    if(e&VO_EVENT_EXPOSE) mDrawColorKey();
-
+ int e=vo_x11_check_events(mDisplay);
+ if ( !(e&VO_EVENT_RESIZE) && !(e&VO_EVENT_EXPOSE) ) return;
+ if(e&VO_EVENT_EXPOSE) mDrawColorKey();
+ set_window();
+ if ( ioctl( f,MGA_VID_CONFIG,&mga_vid_config ) )
+   printf( "Error in mga_vid_config ioctl (wrong mga_vid.o version?)" );
 }
 
 static void draw_osd(void)




More information about the MPlayer-cvslog mailing list