[Mplayer-cvslog] CVS: main/libvo x11_common.c,1.131,1.132

Filip Kalinski CVS filon at mplayerhq.hu
Sat Jan 4 21:43:31 CET 2003


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv8156/libvo

Modified Files:
	x11_common.c 
Log Message:
Added missing spaces around found atom name.
Removed varaibles which last patch made unused (forgot to do it before).


Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -r1.131 -r1.132
--- x11_common.c	4 Jan 2003 01:11:19 -0000	1.131
+++ x11_common.c	4 Jan 2003 20:43:26 -0000	1.132
@@ -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 )



More information about the MPlayer-cvslog mailing list