[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.50,1.51
Zoltan Ponekker
pontscho at mplayer.dev.hu
Thu Feb 21 23:48:50 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv6782/libvo
Modified Files:
x11_common.c
Log Message:
new interface ? :)
Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- x11_common.c 21 Feb 2002 21:11:01 -0000 1.50
+++ x11_common.c 21 Feb 2002 22:48:47 -0000 1.51
@@ -34,6 +34,10 @@
#include "../input/mouse.h"
#endif
+#ifdef HAVE_NEW_GUI
+#include "../Gui/interface.h"
+#endif
+
/*
* If SCAN_VISUALS is defined, vo_init() scans all available TrueColor
* visuals for the 'best' visual for MPlayer video display. Note that
@@ -429,9 +433,9 @@
while ( XPending( mydisplay ) )
{
XNextEvent( mydisplay,&Event );
-// #ifdef HAVE_NEW_GUI
-// if ( use_gui ) gEvent( 0,(char*)&Event );
-// #endif
+ #ifdef HAVE_NEW_GUI
+ if ( use_gui ) guiGetEvent( 0,(char*)&Event );
+ #endif
if ( vo_window == Event.xany.window )
switch( Event.type )
{
More information about the MPlayer-cvslog
mailing list