From f1d3ba0e3318eb4b0ac5686fed4b80acb3753919 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 14 Jun 2013 00:24:41 +0200 Subject: 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. --- core/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/options.h') 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; -- cgit v1.2.3