Skip to content

v3.3.9 — Frontmost-Only AX Event Filter

Choose a tag to compare

@xdzgithub xdzgithub released this 29 Jul 06:14
· 32 commits to main since this release

v3.3.9 (2026-07-29)

Bug Fix: Frontmost-Only AX Event Filter

FocusEventMonitor now ignores AX events from non-frontmost applications. Background apps constantly create/destroy internal UI elements; previously any such event would trigger performRecoveryCheck(), which could steal focus back to the previous app during a user-initiated app switch.

The fix: only kAXUIElementDestroyedNotification / kAXWindowMiniaturizedNotification from the currently-frontmost app schedule a focus recovery check. This is a one-line PID comparison in the AXObserver callback — no time-based heuristics, no deferred retries.