Skip to content

Add hot corner support while blocking dock movement#13

Open
frye wants to merge 1 commit intobwya77:mainfrom
frye:feature/hot-corner-support
Open

Add hot corner support while blocking dock movement#13
frye wants to merge 1 commit intobwya77:mainfrom
frye:feature/hot-corner-support

Conversation

@frye
Copy link

@frye frye commented Feb 5, 2026

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:

  • 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.

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.
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