Mercurial > mplayer.hg
diff gui/wm/ws.h @ 34083:0a44fc1d4e72
Simplify wsAutohideCursor().
Use window pointer as the flag. This enables omitting the parameter to
the function and doesn't require a special note on the usage, because
misuse isn't possible any longer.
author | ib |
---|---|
date | Sat, 01 Oct 2011 15:32:04 +0000 |
parents | 66c5a04a5c32 |
children | aa4bd0c197d8 |
line wrap: on
line diff
--- a/gui/wm/ws.h Sat Oct 01 15:12:54 2011 +0000 +++ b/gui/wm/ws.h Sat Oct 01 15:32:04 2011 +0000 @@ -216,7 +216,7 @@ void wsDoExit(void); void wsMainLoop(void); -void wsAutohideCursor(wsTWindow *win); +void wsAutohideCursor(void); Bool wsEvents(Display *display, XEvent *Event); void wsHandleEvents(void);