summaryrefslogtreecommitdiffstats
path: root/mpvcore/mp_core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-08 02:46:19 +0200
committerwm4 <wm4@nowhere>2013-09-08 03:03:58 +0200
commitcecbd8864ec9e03f8fc14f0a92bead310de946a9 (patch)
tree07e59d9260a67900569784bea439884c3ced7bfa /mpvcore/mp_core.h
parent68e331851ad206b7504353e864d5720c9d0d73e1 (diff)
downloadmpv-cecbd8864ec9e03f8fc14f0a92bead310de946a9.tar.bz2
mpv-cecbd8864ec9e03f8fc14f0a92bead310de946a9.tar.xz
mplayer: add --cursor-autohide-fs-only option
This option makes the cursor always visible in windowed mode. Apparently, this is what (some?) Windows and OSX users expect. It's disabled by default for now. Restructure the cursor hide logic a bit for this purpose.
Diffstat (limited to 'mpvcore/mp_core.h')
-rw-r--r--mpvcore/mp_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/mp_core.h b/mpvcore/mp_core.h
index cb426425b1..777e04945a 100644
--- a/mpvcore/mp_core.h
+++ b/mpvcore/mp_core.h
@@ -246,7 +246,7 @@ typedef struct MPContext {
double mouse_timer;
unsigned int mouse_event_ts;
- int mouse_waiting_hide;
+ bool mouse_cursor_visible;
// used to prevent hanging in some error cases
double start_timestamp;