Mercurial > mplayer.hg
changeset 8783:9fefdd9064b5
Added missing spaces around found atom name.
Removed varaibles which last patch made unused (forgot to do it before).
author | filon |
---|---|
date | Sat, 04 Jan 2003 20:43:26 +0000 |
parents | 6af7a6595cc9 |
children | 6e190ea2abba |
files | libvo/x11_common.c |
diffstat | 1 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/x11_common.c Sat Jan 04 20:11:06 2003 +0000 +++ b/libvo/x11_common.c Sat Jan 04 20:43:26 2003 +0000 @@ -152,7 +152,7 @@ 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 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_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 )