summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfilon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-04 20:43:26 +0000
committerfilon <filon@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-04 20:43:26 +0000
commitd5fef408d1c13fafab1334143315d161899b3f62 (patch)
tree9d32be7ef2bdc8003a0b1a57d28b579c861c7dec /libvo
parent43b7a734ff99915eecd1587378cecaef267a0e66 (diff)
downloadmpv-d5fef408d1c13fafab1334143315d161899b3f62.tar.bz2
mpv-d5fef408d1c13fafab1334143315d161899b3f62.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c10
1 files changed, 1 insertions, 9 deletions
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 )