summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index 039f5c26cb..01fefd0889 100644
--- a/player/core.h
+++ b/player/core.h
@@ -291,9 +291,11 @@ typedef struct MPContext {
double audio_delay;
- double last_heartbeat;
+ double next_heartbeat;
double last_idle_tick;
+ double sleeptime; // number of seconds to sleep before next iteration
+
double mouse_timer;
unsigned int mouse_event_ts;
bool mouse_cursor_visible;