diff options
author | wm4 <wm4@nowhere> | 2019-11-29 12:50:50 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-29 13:56:58 +0100 |
commit | 4e4252f9169edc00c747ffc66fe0b627bbca7ba7 (patch) | |
tree | f3a9c199efe81493bfdaf97f1b0af39782afa962 /osdep/macosx_application.m | |
parent | b16cea750f527088be79772e7cd601f86ce62ef2 (diff) | |
download | mpv-4e4252f9169edc00c747ffc66fe0b627bbca7ba7.tar.bz2 mpv-4e4252f9169edc00c747ffc66fe0b627bbca7ba7.tar.xz |
x11: use new option stuff to implement fullscreen
- remove VOCTRL_FULLSCREEN and VOCTRL_GET_FULLSCREEN
- have your own m_config_cache for the fullscreen option
(vo->opts_cache cannot be used because you lose per-option change
notifications, and it'd be a mess anyway)
- use VOCTRL_VO_OPTS_CHANGED to update it
(it's used for convenience)
- when updating it, check for the fullscreen option
(wasn't sure how to do it best; currently, it compares the raw
option pointers, but this could be changed)
- do not send VO_EVENT_FULLSCREEN_STATE on FS change
- instead write the option on FS change
(assign in opt. struct + m_config_cache_write_opt)
Diffstat (limited to 'osdep/macosx_application.m')
0 files changed, 0 insertions, 0 deletions