Repository navigation
Use the new permission name on macOS 27+ and improve permission setup - #1442
Merged
Merged
Conversation
Contributor
lujjjh
force-pushed
the
fix/event-permission-recovery
branch
5 times, most recently
from
October 10, 2026 13:36
7ca5368 to
5878ec7
Compare
lujjjh
force-pushed
the
fix/event-permission-recovery
branch
from
October 10, 2026 13:40
5878ec7 to
70dcfb0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use “Device Control and Data Access” instead of “Accessibility” on macOS 27 and later, matching the permission name in System Settings. Earlier versions keep “Accessibility” without the rename footnote.
The permission setup now explains why access is needed and opens System Settings directly, with a draggable app row (icon and name) in a floating guide that follows the Settings window. The whole row can be dragged; instructions describe adding it to the list without requiring a separate toggle step. The guide keeps its window ordering and mouse-event handling during the drag. It no longer triggers a separate system permission alert alongside the guide.
Related to #1436.
Validation
make test(Swift package tests and the app's complete test suite).Acknowledgment
The drag-to-authorize flow and floating guide adapt ideas and implementation details from PermissionFlow by 小弟调调. Its MIT license and copyright notice are included in
LinearMouse/ThirdPartyNotices/PermissionFlow.txt, with attribution in the relevant source files. PermissionFlow is not added as a package dependency.