Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
34082:9e90daeb37d4 | 34083:0a44fc1d4e72 |
---|---|
348 break; | 348 break; |
349 | 349 |
350 case GUI_HANDLE_EVENTS: | 350 case GUI_HANDLE_EVENTS: |
351 if (!guiInfo.Playing || !guiInfo.VideoWindow) | 351 if (!guiInfo.Playing || !guiInfo.VideoWindow) |
352 wsHandleEvents(); | 352 wsHandleEvents(); |
353 wsAutohideCursor(&guiApp.subWindow); | 353 wsAutohideCursor(); |
354 gtkEventHandling(); | 354 gtkEventHandling(); |
355 break; | 355 break; |
356 | 356 |
357 case GUI_RUN_COMMAND: | 357 case GUI_RUN_COMMAND: |
358 | 358 |