mirror of https://github.com/mpv-player/mpv
d45074455a
the cursor couldn’t be hidden when the cursor was at the same position as the Dock, even if the cursor was next to it. this is especially annoying in fullscreen since the Dock isn’t actually hidden but is still reported as being visible. this basically made the part of the screen, where the Dock resides, a ‘dead zone’. so instead of using the visibleFrame we will just use the normal frame. there is no problem at the top area of the screen, since a window can’t be placed above the menu bar and in fullscreen the menu bar is always reported as not being on screen. i suspect this was done so the cursor wasn’t hidden when the it was placed above the Dock when windowed. with the recent refactor this is not needed any more. |
||
---|---|---|
.. | ||
events_view.h | ||
events_view.m | ||
mpvadapter.h | ||
video_view.h | ||
video_view.m | ||
window.h | ||
window.m |