Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
34082:9e90daeb37d4 | 34083:0a44fc1d4e72 |
---|---|
214 | 214 |
215 int wsGetDepthOnScreen(void); | 215 int wsGetDepthOnScreen(void); |
216 | 216 |
217 void wsDoExit(void); | 217 void wsDoExit(void); |
218 void wsMainLoop(void); | 218 void wsMainLoop(void); |
219 void wsAutohideCursor(wsTWindow *win); | 219 void wsAutohideCursor(void); |
220 Bool wsEvents(Display *display, XEvent *Event); | 220 Bool wsEvents(Display *display, XEvent *Event); |
221 void wsHandleEvents(void); | 221 void wsHandleEvents(void); |
222 | 222 |
223 // ---------------------------------------------------------------------------------------------- | 223 // ---------------------------------------------------------------------------------------------- |
224 // wsCrateWindow: create a new window on the screen. | 224 // wsCrateWindow: create a new window on the screen. |