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

Keep cursor active when hidden #266

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

Conversation

iguanajuice
Copy link

Resolves this issue: swaywm/sway#6297
And kinda resolves this one, too: swaywm/sway#7853

This was denied in vanilla sway because "Invisible-but-still-active cursors are confusing." (I don't see how).

This not only would fix gaming when using hide_cursor when-typing, but it will also let you hover for a preview and have it not "despawn" after the timeout.

For example: if you read a Wikipedia page, there are links to other articles that you can hover over to show a preview for; problem is, when using hide_cursor [timeout], the preview goes away when the cursor hides since the cursor also "deactivates". This is extremely annoying.

Here are some links to Reddit of people complaining about hide_cursor's current behavior:
https://www.reddit.com/r/swaywm/comments/10kevqd/avoid_using_the_option_hide_cursor_whentyping_by
https://www.reddit.com/r/swaywm/comments/n7m5d2/a_script_to_disable_hide_cursor_whentyping_when

I've been using this patch for a couple of days now and everything works fine. It's only a sloc change.

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.

None yet

1 participant