[MPlayer-dev-eng] minor WM patch

Nilmoni Deb ndeb at ece.cmu.edu
Sat May 11 20:22:34 CEST 2002


--- libvo/x11_common.c     Sat May 11 14:11:08 2002
+++ libvo/x11_common.c.new  Sat May 11 14:19:08 2002
@@ -183,7 +183,7 @@
   { mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm is KDE.\n" ); return
vo_wm_KDE; }
  if ( !strncmp( name,"KWM_WIN_DESKTOP",15 ) )
   { mp_dbg( MSGT_VO,MSGL_STATUS,"[x11] Detected wm is WindowMaker
style.\n" ); return vo_wm_WMakerStyle; }
-// fprintf(stderr,"[ws] PropertyNotify ( 0x%x ) %s ( 0x%x
)\n",win,name,xev.xproperty.atom );
+// fprintf(stderr,"[ws] vo_wm_string_test %s \n", name);
  return vo_wm_Unknown;
 }
 
 


This patch is suppled bcos in function vo_wm_string_test, there is nothing
specific to PropertyNotify. Also, other variables like win and
xev.xproperty.atom are undeclared variables so this fprintf statement,
if uncommented, will not work.

thanks
- Nil




More information about the MPlayer-dev-eng mailing list