diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-02-17 16:35:44 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-02-21 22:23:08 +0100 |
commit | e540e5d4da607420cc10f4c2b412aa0ff3d1fb5c (patch) | |
tree | 1355bc1cfbce42f775d12ac95f664acb7eb37f86 /video/out/w32_common.h | |
parent | 41c1749f46e0e36af39be2487ee992cbf18e6679 (diff) | |
download | mpv-e540e5d4da607420cc10f4c2b412aa0ff3d1fb5c.tar.bz2 mpv-e540e5d4da607420cc10f4c2b412aa0ff3d1fb5c.tar.xz |
core: add fs-screen option for fullscreen display selection
`--fs-screen` allows to decide what display to go fullscreen into. The
semantics of `--screen` changed and now it is only used to select the windowed
display when starting the application.
This is useful for people using mpv with an external TV. They will start
windowed on their laptop's screen and switch to fullscreen on the TV.
@wm4 worked on the x11 and w32 parts of the code. All is squashed in one
commit for history clarity.
Diffstat (limited to 'video/out/w32_common.h')
-rw-r--r-- | video/out/w32_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/w32_common.h b/video/out/w32_common.h index cd74ae17ac..57997dd67b 100644 --- a/video/out/w32_common.h +++ b/video/out/w32_common.h @@ -50,6 +50,7 @@ struct vo_w32_state { int event_flags; int mon_cnt; + int mon_id; }; int vo_w32_init(struct vo *vo); |