summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-12-01 18:05:30 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-12-01 18:05:30 +0100
commit586c9e71554914daf7f60c4610c4ef4e85c274eb (patch)
tree6a3ff2b90f1a970e0e37d50b2222b3c8588e3201 /options
parent1c0920a8dd73105874a6aadcd35bec5814123709 (diff)
downloadmpv-586c9e71554914daf7f60c4610c4ef4e85c274eb.tar.bz2
mpv-586c9e71554914daf7f60c4610c4ef4e85c274eb.tar.xz
cocoa: allow to black out other display when going fs
fixes #1302
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
-rw-r--r--options/options.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 3327b206e1..57cf20afa8 100644
--- a/options/options.c
+++ b/options/options.c
@@ -455,6 +455,7 @@ const m_option_t mp_opts[] = {
OPT_CHOICE_OR_INT("fs-screen", vo.fsscreen_id, 0, 0, 32,
({"all", -2}, {"current", -1})),
+ OPT_FLAG("fs-black-out-screens", vo.fs_black_out_screens, 0),
OPT_INTRANGE("brightness", gamma_brightness, 0, -100, 100),
OPT_INTRANGE("saturation", gamma_saturation, 0, -100, 100),
OPT_INTRANGE("contrast", gamma_contrast, 0, -100, 100),
diff --git a/options/options.h b/options/options.h
index dadcb0800a..c73764ceba 100644
--- a/options/options.h
+++ b/options/options.h
@@ -12,6 +12,7 @@ typedef struct mp_vo_opts {
int fullscreen;
int screen_id;
int fsscreen_id;
+ int fs_black_out_screens;
char *winname;
int x11_netwm;
int native_keyrepeat;