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)
1 file changed
tree: b9194771e9cee702cd84b23c77b29b802e1d7b9e
  1. .github/
  2. android-project/
  3. build-scripts/
  4. cmake/
  5. docs/
  6. include/
  7. mingw/
  8. src/
  9. test/
  10. VisualC/
  11. VisualC-GDK/
  12. VisualC-WinRT/
  13. wayland-protocols/
  14. Xcode/
  15. .clang-format
  16. .clang-tidy
  17. .editorconfig
  18. .gitignore
  19. .wikiheaders-options
  20. Android.mk
  21. BUGS.txt
  22. CMakeLists.txt
  23. CREDITS.md
  24. INSTALL.md
  25. LICENSE.txt
  26. README-SDL.txt
  27. README.md
  28. WhatsNew.txt
README.md

Simple DirectMedia Layer (SDL) Version 3.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware. 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. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.

Enjoy!

Sam Lantinga (slouken@libsdl.org)