Add hot corner support while blocking dock movement#13
Open
frye wants to merge 1 commit intobwya77:mainfrom
Open
Add hot corner support while blocking dock movement#13frye wants to merge 1 commit intobwya77:mainfrom
frye wants to merge 1 commit intobwya77:mainfrom
Conversation
Implement time-based hot corner detection that allows macOS hot corners to work on non-anchor displays while still preventing dock movement: - Detect 1px corner zones matching exact hot corner trigger points - Allow first mouse event through for instant hot corner activation - Warp cursor 15px away from edge after 10ms to prevent dock trigger - Block all subsequent events in corner zone This enables hot corners (like lock screen) to function normally while maintaining dock anchoring on the designated display.
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.
I tried few different options and this seem to work the best. At least for my needs to use the bottom left corner as lock display. I may be missing something obvious as I'm not a developer by day job. This hopefully at least helps with #12
Implement time-based hot corner detection that allows macOS hot corners to work on non-anchor displays while still preventing dock movement:
This enables hot corners (like lock screen) to function normally while maintaining dock anchoring on the designated display.