diff options
author | Philip Langdale <philipl@overt.org> | 2019-11-29 20:35:05 +0800 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-29 13:56:58 +0100 |
commit | 2b4c8675057cd43c21d4c124381bfb9c9930871c (patch) | |
tree | 4b6d30cdbcd7214fc0ecf27b3652ca0d976bfd24 /libmpv/opengl_cb.h | |
parent | d520258ffbc3a0e4e2c9a04f62af11feb0273754 (diff) | |
download | mpv-2b4c8675057cd43c21d4c124381bfb9c9930871c.tar.bz2 mpv-2b4c8675057cd43c21d4c124381bfb9c9930871c.tar.xz |
osc: handle deadzone and barmargin for window controls
I missed these due to only testing with my personal osc config.
The deadzone needs to be correctly handled for the window controls,
or they will fail to appear when the mouse is close to or over them.
In the process of doing that, I realised that the controls should
respect the barmargin, if set. This is because the controls should
remain aligned when layout=topbar and as the control bar is top
aligned, it should be equally affected if the user needs to set
the barmargin.
I also fixed a mistake in trying to the use the mpv-osd-symbols font
for the window controls.
Diffstat (limited to 'libmpv/opengl_cb.h')
0 files changed, 0 insertions, 0 deletions