Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix transition between screens of different sizes on macos. #227

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rygwdn
Copy link
Contributor

@rygwdn rygwdn commented Feb 14, 2025

When screens on macos have different physical sizes, macos will only allow the mouse to move between the screens where it thinks they overlap
image

This change bumps the cursor to the vertical middle of the edge of the screen before using relative movement to bump it onto the next display, making it much more likely that the cursor will be able to cross. The jump is sometimes noticeable, but it is pretty quick.

Should this be configurable?

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