summaryrefslogtreecommitdiffstats
path: root/core/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-14 00:24:41 +0200
committerwm4 <wm4@nowhere>2013-06-14 00:37:39 +0200
commitf1d3ba0e3318eb4b0ac5686fed4b80acb3753919 (patch)
treeb433072a2e2fc7ff04d4e413bdea94bada3a335c /core/options.h
parent648c3d790a2e5123fdea0f02743058b59e85dd94 (diff)
downloadmpv-f1d3ba0e3318eb4b0ac5686fed4b80acb3753919.tar.bz2
mpv-f1d3ba0e3318eb4b0ac5686fed4b80acb3753919.tar.xz
x11: enable screensaver when paused, rename/change --stop-xscreensaver
Use the recently introduced screensaver VOCTRLs to control the screensaver in the X11 backend. This means the behavior when paused changes: the old code always kept the screensaver disabled, but now the screensaver is reenabled on pausing. Rename the --stop-xscreensaver option to --stop-screensaver and make it more generic. Now it affects all backends that respond to the screensaver VOCTRLs.
Diffstat (limited to 'core/options.h')
-rw-r--r--core/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/options.h b/core/options.h
index 36af43e3f1..f598cf267f 100644
--- a/core/options.h
+++ b/core/options.h
@@ -14,7 +14,6 @@ typedef struct mp_vo_opts {
bool fs;
int screen_id;
int fsscreen_id;
- int stop_screensaver;
char *winname;
char** fstype_list;
int native_keyrepeat;
@@ -72,6 +71,7 @@ typedef struct MPOpts {
int gamma_saturation;
int gamma_hue;
+ int stop_screensaver;
int fullscreen;
int requested_colorspace;
int requested_input_range;