mpv/video/out
wm4 c4b08a9a11 video: remove fullscreen flags chaos
There was a MPOpts fullscreen field, a mp_vo_opts.fs field, and
VOFLAG_FULLSCREEN. Remove all these and introduce a
mp_vo_opts.fullscreen flag instead.

When VOs receive VOCTRL_FULLSCREEN, they are supposed to set the
current fullscreen mode to the state in mp_vo_opts.fullscreen. They
also should do this implicitly on config().

VOs which are capable of doing so can update the mp_vo_opts.fullscreen
if the actual fullscreen mode changes (e.g. if the user uses the
window manager controls). If fullscreen mode switching fails, they
can also set mp_vo_opts.fullscreen to the actual state.

Note that the X11 backend does almost none of this, and it has a
private fs flag to store the fullscreen flag, instead of getting it
from the WM. (Possibly because it has to deal with broken WMs.)

The fullscreen option has to be checked on config() to deal with
the -fs option, especially with something like:

   mpv --fs file1.mkv --{ --no-fs file2.mkv --}

(It should start in fullscreen mode, but go to windowed mode when
playing file2.mkv.)

Wayland changes by: Alexander Preisinger <alexander.preisinger@gmail.com>
Cocoa changes by: Stefano Pigozzi <stefano.pigozzi@gmail.com>
2013-07-18 14:07:21 +02:00
..
aspect.c vo: remove aspdat.asp member 2013-07-18 13:57:28 +02:00
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h cocoa_common: remove play/pause VOCTRL functions 2013-06-14 07:34:47 +02:00
cocoa_common.m video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl
dither.c dither: don't use long double 2013-07-05 20:26:32 +02:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
filter_kernels.c
filter_kernels.h
gl_cocoa.c
gl_common.c gl_common: fix invalid alignment 2013-05-30 15:56:51 +02:00
gl_common.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
gl_header_fixes.h
gl_lcms.c core: change open_stream and demux_open signature 2013-07-12 21:56:40 +02:00
gl_lcms.h
gl_osd.c
gl_osd.h
gl_video.c gl_video: add support for more rgb formats 2013-07-18 13:52:38 +02:00
gl_video.h vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00
gl_video_shaders.glsl gl_video: add support for more rgb formats 2013-07-18 13:52:38 +02:00
gl_w32.c
gl_wayland.c video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00
gl_x11.c
pnm_loader.c
pnm_loader.h
vo.c video: redo how colorspaces are handled 2013-07-16 23:22:55 +02:00
vo.h video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00
vo_caca.c core: cleanup more mp_fifo leftovers 2013-07-02 14:11:31 +02:00
vo_corevideo.h
vo_corevideo.m
vo_direct3d.c
vo_image.c
vo_lavc.c vo_lavc: remove unused variable 2013-06-18 12:22:25 +02:00
vo_null.c
vo_opengl.c video: add a new method to configure filters and VOs 2013-06-28 20:34:46 +02:00
vo_opengl_old.c
vo_sdl.c video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00
vo_vdpau.c video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00
vo_x11.c sws_utils: don't recursively include libswscale header 2013-07-18 13:46:05 +02:00
vo_xv.c input: handle mouse movement differently 2013-06-29 22:58:13 +02:00
w32_common.c video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00
w32_common.h w32: enable screensaver when paused 2013-06-14 00:39:31 +02:00
wayland_common.c video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00
wayland_common.h video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00
x11_common.c video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00
x11_common.h video: remove fullscreen flags chaos 2013-07-18 14:07:21 +02:00