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

Move cursor to the center of the screen on reappearing #70

Open
ivanjermakov opened this issue Dec 31, 2021 · 2 comments
Open

Move cursor to the center of the screen on reappearing #70

ivanjermakov opened this issue Dec 31, 2021 · 2 comments

Comments

@ivanjermakov
Copy link

Feature idea: when the mouse is moved and the cursor appears, place it in the middle of the screen so the user always knows where it will be.

@Airblader
Copy link
Owner

In principle that sounds OK to me, though personally I'd find that more annoying than helpful. However, I think this would require pulling in RandR to deal with multiple outputs since I assume "center" should refer to the center of the output on which the pointer currently is.

I'm not entirely convinced that this is worth adding such a dependency. Another approach could be just exposing a way to react to cursor hide / show, but not implement the cursor warp directly. This requires more thought, though.

@yermulnik
Copy link

though personally I'd find that more annoying than helpful.

+1

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

No branches or pull requests

3 participants