commit | ef54e0c4f4b73cf1339b7738d23dcbeebbc1d4ae | [log] [tgz] |
---|---|---|
author | Brian Collins <bri.l.collins@gmail.com> | Sat Mar 16 16:27:14 2024 -0400 |
committer | Sam Lantinga <slouken@libsdl.org> | Mon Apr 01 16:22:03 2024 -0700 |
tree | 40e568a4491d622bd5afd4f01e9b6220adbd43c2 | |
parent | 863f39fb9f0f845f609bea7cd1fbef33b77fdf31 [diff] |
Workaround a macOS cursor-related bug. This fixes an macOS bug that is only known to occur in fullscreen windows on the built-in displays of newer MacBooks with camera notches. When the mouse is moved near the top of such a window (within about 44 units) and then moved back down, the cursor rects aren't respected. This can cause the default cursor to be visible when it should not be. (cherry picked from commit f1690e265e306818882c7c876a9e85492eeefa42)
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
More extensive documentation is available in the docs directory, starting with README.md
Enjoy!
Sam Lantinga (slouken@libsdl.org)