Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.