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/x11_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/x11_common.h')
-rw-r--r-- | video/out/x11_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h index d638d6b15f..5553c070f5 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -34,6 +34,8 @@ struct vo_x11_state { Window rootwin; int screen; int display_is_local; + int ws_width; + int ws_height; int screensaver_off; int dpms_disabled; |