diff options
author | Philip Langdale <philipl@overt.org> | 2019-12-03 21:48:06 +0800 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2019-12-04 09:32:25 +0800 |
commit | 353e4efdefca0fe118f5717783bf7e1df3592620 (patch) | |
tree | ddebf2314988c8be11e5de03f5aa31bc54f2bc18 /Copyright | |
parent | f8689eff6d8c982ed970f02929a50be1406e1e25 (diff) | |
download | mpv-353e4efdefca0fe118f5717783bf7e1df3592620.tar.bz2 mpv-353e4efdefca0fe118f5717783bf7e1df3592620.tar.xz |
osc: rework window control configuration to add auto mode
To aid in discoverability, and to address the most common case
directly, I'm adding an 'auto' mode for the window controls. In
this case, we will show the controls if there is no window border
and hide them if there are borders. This also respects the option
being toggled at runtime.
To ensure that it works in the wayland case, I've also made sure
that the wayland code explicitly forces the option to false if
decoration support is missing.
Based on feedback, I've split the config in two, with one option
for whether controls are active, and one for alignment. These are
new enough that we can get away with ignoring compatibility.
Diffstat (limited to 'Copyright')
0 files changed, 0 insertions, 0 deletions