Repository navigation
XKey v1.2.25 (Build 20260828)
What's New
fix(smart-switch): keep excluded apps out of Smart Switch
The excluded-app check only ran in the per-keystroke path, so an app on the
exclusion list still took part in Smart Switch: activating it restored its
saved language and flipped the menu bar to V, and the state it recorded then
leaked to the next app that had no saved entry of its own.
Move the passthrough and user-list logic into isAppExcluded(bundleIdentifier:)
— dead until now — so it also honours the exclusionRulesEnabled master switch,
and have isCurrentAppExcluded() delegate to it after its overlay exemption.
The tap path behaves exactly as before; the Smart Switch paths now share the
same predicate and skip excluded apps when restoring on app switch, when an
input source change arrives, when an overlay is dismissed, and when the user
toggles E/V by hand.
Overlay apps (Spotlight, Raycast, Alfred) are never excluded by design, so
their Smart Switch sites are left untouched.
Fixes #321