diff options
author | der richter <der.richter@gmx.de> | 2020-02-01 13:02:58 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2020-02-08 10:56:11 +0100 |
commit | 3ad9c32a5fabdfb1ca0a8e5766704042dfa995e6 (patch) | |
tree | 7f8da49210bb325dd21c398a8f756c42889d3d99 /video/out/aspect.h | |
parent | 2607a2b892ce3c4f4da0b09c88ed1d6a4951020c (diff) | |
download | mpv-3ad9c32a5fabdfb1ca0a8e5766704042dfa995e6.tar.bz2 mpv-3ad9c32a5fabdfb1ca0a8e5766704042dfa995e6.tar.xz |
cocoa-cb: simplify cursor hiding and make it less greedy
for reasons unknown to me the NSCursor (un)hide functions can be
completely unreliable and the cursor can have an unknown state. this
only happens on some system and wasn't able to reproduce this. it's
probably some dumb race condition that might be possible to work around,
though because of the lack of reproducibility on my end it's hard to
test.
i decided to rework the cursor hiding code yet again and make it a lot
less greedy. the cursor will now always unhide when moved and there
will never be a situation again the cursor can't be unhidden again.
on the other hand there might be edge cases now where the cursor won't
hide immediately and you have to move it slightly to make it disappear
again. this should be an acceptable tradeoff.
Fixes #6886
Diffstat (limited to 'video/out/aspect.h')
0 files changed, 0 insertions, 0 deletions