diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-02 20:10:18 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-02 20:10:18 +0000 |
commit | 2a8b8d1d43787e9538b85d586d0ed7c617c030e7 (patch) | |
tree | 650819f220b2f4a9c2413c64304da47520e22691 /Gui/wm | |
parent | 478bb57c0ae2b2c2dd99069e2423625dd2989286 (diff) | |
download | mpv-2a8b8d1d43787e9538b85d586d0ed7c617c030e7.tar.bz2 mpv-2a8b8d1d43787e9538b85d586d0ed7c617c030e7.tar.xz |
cosmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8059 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/wm')
-rw-r--r-- | Gui/wm/ws.c | 6 | ||||
-rw-r--r-- | Gui/wm/ws.h | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c index 89787c1669..ba4b21e708 100644 --- a/Gui/wm/ws.c +++ b/Gui/wm/ws.c @@ -609,12 +609,12 @@ Bool wsEvents( Display * display,XEvent * Event,XPointer arg ) } 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 @@ void wsPostRedisplay( wsTWindow * win ) if ( win->ReDraw ) { win->State=wsWindowExpose; - win->ReDraw( wsDisplay,win->WindowID ); + win->ReDraw(); XFlush( wsDisplay ); } } diff --git a/Gui/wm/ws.h b/Gui/wm/ws.h index 0ab13869af..84195d6f76 100644 --- a/Gui/wm/ws.h +++ b/Gui/wm/ws.h @@ -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 ); |