From d5fef408d1c13fafab1334143315d161899b3f62 Mon Sep 17 00:00:00 2001 From: filon Date: Sat, 4 Jan 2003 20:43:26 +0000 Subject: Added missing spaces around found atom name. Removed varaibles which last patch made unused (forgot to do it before). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8784 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libvo') diff --git a/libvo/x11_common.c b/libvo/x11_common.c index b141fd4aaa..7e8e86a9ec 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -152,7 +152,7 @@ static int x11_errorhandler(Display *display, XErrorEvent *event) int net_wm_support_state_test( Atom atom ) { -#define NET_WM_STATE_TEST(x) { if (atom == XA_NET_WM_STATE_##x) { mp_dbg( MSGT_VO,MSGL_STATUS, "[x11] Detected wm supports" #x "state.\n" ); return SUPPORT_##x; } } +#define NET_WM_STATE_TEST(x) { if (atom == XA_NET_WM_STATE_##x) { mp_dbg( MSGT_VO,MSGL_STATUS, "[x11] Detected wm supports " #x " state.\n" ); return SUPPORT_##x; } } NET_WM_STATE_TEST(FULLSCREEN); NET_WM_STATE_TEST(ABOVE); @@ -172,13 +172,11 @@ int x11_get_property(Atom type, Atom **args, unsigned long *nitems) int vo_wm_detect( void ) { - XEvent xev; int i; int wm = vo_wm_Unknown; unsigned long nitems; Atom * args = NULL; int metacity_hack = 0; - char * name; if ( WinID >= 0 ) return vo_wm_Unknown; @@ -698,12 +696,6 @@ void vo_x11_sizehint( int x, int y, int width, int height, int max ) void vo_x11_setlayer( int layer ) { - Atom type,arg1,arg2; - int format; - unsigned long nitems, bytesafter; - Atom * args = NULL; - int i; - if ( WinID >= 0 ) return; switch ( vo_wm_type ) -- cgit v1.2.3