Mercurial > mplayer.hg
diff gui/interface.c @ 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 | b3e209516ae0 |
line wrap: on
line diff
--- a/gui/interface.c Sat Oct 01 15:12:54 2011 +0000 +++ b/gui/interface.c Sat Oct 01 15:32:04 2011 +0000 @@ -350,7 +350,7 @@ case GUI_HANDLE_EVENTS: if (!guiInfo.Playing || !guiInfo.VideoWindow) wsHandleEvents(); - wsAutohideCursor(&guiApp.subWindow); + wsAutohideCursor(); gtkEventHandling(); break;