summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authordudemanguy <random342@airmail.cc>2019-12-02 09:11:06 -0600
committerDudemanguy <random342@airmail.cc>2019-12-04 00:47:05 +0000
commit65a317436df05000366af2738bdbb834e95e33db (patch)
treec57e664163e17d8acc7797015faaf2a41eb0d7e0 /options/options.h
parentfd28be400cbee01ea37aec07ea23480aae90e06b (diff)
downloadmpv-65a317436df05000366af2738bdbb834e95e33db.tar.bz2
mpv-65a317436df05000366af2738bdbb834e95e33db.tar.xz
options: move cursor autohiding opts to mp_vo_opts
Certain backends (i.e. wayland) will need to do special things with the mouse. It makes sense to expose the values of these options to them, so they can behave correctly.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/options/options.h b/options/options.h
index e20e2c937a..ca87fd4ac9 100644
--- a/options/options.h
+++ b/options/options.h
@@ -41,6 +41,9 @@ typedef struct mp_vo_opts {
struct m_geometry autofit_smaller;
double window_scale;
+ int cursor_autohide_delay;
+ int cursor_autohide_fs;
+
int keepaspect;
int keepaspect_window;
int hidpi_window_scale;
@@ -162,8 +165,6 @@ typedef struct MPOpts {
struct mp_csp_equalizer_opts *video_equalizer;
int stop_screensaver;
- int cursor_autohide_delay;
- int cursor_autohide_fs;
int video_rotate;