diff options
author | Philip Langdale <philipl@overt.org> | 2019-12-09 20:59:29 -0800 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2019-12-09 21:02:17 -0800 |
commit | 59b0fec5089962f65aa2232d1d4aa44524a5a5cb (patch) | |
tree | bea57ad433a9cecd68d80d69c82e7cc6047c8f48 /osdep/threads.c | |
parent | b3b2cc44fa783c1575b3e229c79f2977f75a57c1 (diff) | |
download | mpv-59b0fec5089962f65aa2232d1d4aa44524a5a5cb.tar.bz2 mpv-59b0fec5089962f65aa2232d1d4aa44524a5a5cb.tar.xz |
osc: explicitly re-init the osc on a change in border visibility
I had previously wondered whether to do this, but in my testing
with x11 and wayland, the osc was being re-inited on a border
toggle already so I didn't add it.
However, on win32, things are different and there is no re-init
when toggling borders. I belive this is because the active window
size doesn't change in anyway, while on x11/wayland, toggling the
border actually changes the window size - and that trigger a re-init.
So, let's just be explicit and request a re-init when the border
is toggled.
Diffstat (limited to 'osdep/threads.c')
0 files changed, 0 insertions, 0 deletions