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

[Feature Request] Hide mouse cursor with general.cursor_jump enabled #593

Open
EdualcLaiv opened this issue Apr 22, 2024 · 1 comment
Open
Labels
needs triage To be categorized or requires further context type: feature New feature or request

Comments

@EdualcLaiv
Copy link

Having the cursor always at the center of the focused window is extremely handy, seeing the cursor jumping around is slightly distracting.

It would be nice to add the possibility to hide the cursor when following focus (since we always know where it should be) and un-hide it when manualy moved.
It could be enabled and disabled in the config file with something like hide_following_cursor for example.

@ptazithos
Copy link

ptazithos commented Jul 6, 2024

Sounds possible. There is an API there. nf-winuser-showcursor

I tried for a while. It only hides the cursor in the client area; the cursor still shows out of the window.

Create a transparent window on the top, set the mouse style, then bypass the event to target windows? Not sure.

@lars-berger lars-berger added type: feature New feature or request needs triage To be categorized or requires further context labels Aug 15, 2024
@lars-berger lars-berger changed the title [Feature request] Hide mouse cursor with cursor_follow_focus set as true [Feature Request] Hide mouse cursor with general.cursor_jump enabled Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage To be categorized or requires further context type: feature New feature or request
Projects
Status: 📬 Needs triage
Development

No branches or pull requests

3 participants