[Mplayer-cvslog] CVS: main/Gui/wm ws.c,1.58,1.59 ws.h,1.22,1.23

Zoltan Ponekker pontscho at mplayerhq.hu
Sat Nov 2 21:10:21 CET 2002


Update of /cvsroot/mplayer/main/Gui/wm
In directory mail:/var/tmp.root/cvs-serv11462/Gui/wm

Modified Files:
	ws.c ws.h 
Log Message:
cosmetic

Index: ws.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- ws.c	23 Oct 2002 23:57:45 -0000	1.58
+++ ws.c	2 Nov 2002 20:10:18 -0000	1.59
@@ -609,12 +609,12 @@
          }
 expose:
         wsWindowList[l]->State=i;
-        if ( wsWindowList[l]->ReDraw ) wsWindowList[l]->ReDraw( wsDisplay,Event->xany.window );
+        if ( wsWindowList[l]->ReDraw ) wsWindowList[l]->ReDraw();
         break;
 
    case Expose:
         wsWindowList[l]->State=wsWindowExpose;
-        if ( ( wsWindowList[l]->ReDraw )&&( !Event->xexpose.count ) ) wsWindowList[l]->ReDraw( wsDisplay,Event->xany.window );
+        if ( ( wsWindowList[l]->ReDraw )&&( !Event->xexpose.count ) ) wsWindowList[l]->ReDraw();
         break;
 
    case ConfigureNotify:
@@ -915,7 +915,7 @@
  if ( win->ReDraw )
   {
    win->State=wsWindowExpose;
-   win->ReDraw( wsDisplay,win->WindowID );
+   win->ReDraw();
    XFlush( wsDisplay );
   }
 }

Index: ws.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ws.h	2 Nov 2002 18:18:24 -0000	1.22
+++ ws.h	2 Nov 2002 20:10:18 -0000	1.23
@@ -93,9 +93,7 @@
 #define wsWMIceWM    3
 #define wsWMWMaker   4
 
-#define wsParamDisplay Display *dpy,Window w
-
-typedef   void (*wsTReDraw)( wsParamDisplay );
+typedef   void (*wsTReDraw)( void );
 typedef   void (*wsTReSize)( unsigned int X,unsigned int Y,unsigned int width,unsigned int height );
 typedef   void (*wsTIdle)( void );
 typedef   void (*wsTKeyHandler)( int KeyCode,int Type,int Key );




More information about the MPlayer-cvslog mailing list