Skip to content

Fix macOS 14+ build (AXValueType cast, CGEventTapOptions)#261

Open
mbezruchko wants to merge 1 commit intosbmpost:7-47-focus-without-raise-experimentalfrom
mbezruchko:fix/macos14-build
Open

Fix macOS 14+ build (AXValueType cast, CGEventTapOptions)#261
mbezruchko wants to merge 1 commit intosbmpost:7-47-focus-without-raise-experimentalfrom
mbezruchko:fix/macos14-build

Conversation

@mbezruchko
Copy link

Summary

This patch fixes build errors when compiling AutoRaise on macOS 14 (Sonoma) and macOS 15 (Sequoia) using Xcode 15+.

Details

  • Added explicit (AXValueType) casts to kAXValueCGSizeType and kAXValueCGPointType for compatibility with updated Accessibility API headers.
  • Replaced the 3rd argument 0 in CGEventTapCreate() with kCGEventTapOptionDefault to satisfy the new CoreGraphics function signature.
  • Confirmed successful build on macOS 14.6 and macOS 15 beta.
  • No behavioral change for earlier macOS versions (Big Sur → Monterey → Ventura).

Result

AutoRaise now compiles cleanly and runs as expected on all supported macOS versions.

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.

1 participant