summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-06 15:48:07 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-06 15:48:07 +0000
commit48da357ce5714f1375a6ef5358c4380c8c3232b8 (patch)
tree10bfee5ceaaaeb6d400eb99f25fcaa209ad65e16 /libvo
parent92009fc2f5949a72452bb60b837ac436f924b6c1 (diff)
downloadmpv-48da357ce5714f1375a6ef5358c4380c8c3232b8.tar.bz2
mpv-48da357ce5714f1375a6ef5358c4380c8c3232b8.tar.xz
upsz, 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5999 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c9
-rw-r--r--libvo/x11_common.h3
2 files changed, 5 insertions, 7 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index e9fd3343ac..2a9b9a6c95 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -3,6 +3,7 @@
#include <stdlib.h>
#include "config.h"
+#include "mp_msg.h"
#ifdef X11_FULLSCREEN
@@ -304,7 +305,7 @@ int vo_init( void )
type=XInternAtom( mDisplay,"_NET_SUPPORTED",False );
if ( Success == XGetWindowProperty( mDisplay,mRootWin,type,0,65536 / sizeof( long ),False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 )
{
- mp_dbg( MSGT_GPLAYER,MSGL_STATUS,"[x11] Detected wm is NetWM.\n" );
+ mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm is NetWM.\n" );
XFree( args );
vo_wm_type=vo_wm_NetWM;
}
@@ -570,17 +571,17 @@ int vo_x11_check_events(Display *mydisplay){
if ( !strncmp( name,"_ICEWM_TRAY",11 ) )
{
- mp_dbg( MSGT_GPLAYER,MSGL_STATUS,"[x11] Detected wm is IceWM.\n" );
+ mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm is IceWM.\n" );
vo_wm_type=vo_wm_IceWM;
}
if ( !strncmp( name,"_KDE_",5 ) )
{
- mp_dbg( MSGT_GPLAYER,MSGL_STATUS,"[x11] Detected wm is KDE.\n" );
+ mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm is KDE.\n" );
vo_wm_type=vo_wm_KDE;
}
if ( !strncmp( name,"KWM_WIN_DESKTOP",15 ) )
{
- mp_dbg( MSGT_GPLAYER,MSGL_STATUS,"[x11] Detected wm is WindowMaker style.\n" );
+ mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm is WindowMaker style.\n" );
vo_wm_type=vo_wm_WMakerStyle;
}
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index 6c921a34ba..06c3bc54b7 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -43,9 +43,6 @@ extern XSizeHints vo_hint;
extern void vo_setwindow( Window w,GC g );
extern void vo_x11_putkey(int key);
#endif
-#ifdef HAVE_GUI
- extern Display * vo_display;
-#endif
void saver_off( Display * );
void saver_on( Display * );