Skip to content

Fix macOS 15 compatibility issues for Mac M1 build #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gcoderbh
Copy link

@gcoderbh gcoderbh commented Jul 2, 2025

  • Replace deprecated CGDisplayCreateImageForRect and CGWindowListCreateImage with fallback implementation
  • Update IOMasterPort to IOMainPort for better compatibility
  • Fix Unicode string pointer type casting in keypress.c
  • Replace string literal comparison with strcmp in window_manager.mm
  • Add version checking for NSApplicationActivateIgnoringOtherApps
  • Set macOS deployment target to 10.15 in CMakeLists.txt
  • Enable successful compilation on macOS 15 with Apple Silicon

- Replace deprecated CGDisplayCreateImageForRect and CGWindowListCreateImage with fallback implementation
- Update IOMasterPort to IOMainPort for better compatibility
- Fix Unicode string pointer type casting in keypress.c
- Replace string literal comparison with strcmp in window_manager.mm
- Add version checking for NSApplicationActivateIgnoringOtherApps
- Set macOS deployment target to 10.15 in CMakeLists.txt
- Enable successful compilation on macOS 15 with Apple Silicon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants