summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-21 22:48:47 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-21 22:48:47 +0000
commitfe8edf976759aef5328f2f52556277e7bad15031 (patch)
tree05b89440b45ca6346e760587ae7a9c6b96d89ac2 /libvo/x11_common.c
parent9be78192bba31c64dcc9c4e17dee38cfbd92ab34 (diff)
downloadmpv-fe8edf976759aef5328f2f52556277e7bad15031.tar.bz2
mpv-fe8edf976759aef5328f2f52556277e7bad15031.tar.xz
new interface ? :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4799 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index beab7d4f90..408687605e 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -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 @@ int vo_x11_check_events(Display *mydisplay){
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 )
{