-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
enhancementNew feature or incremental improvementNew feature or incremental improvement
Description
Description:
I use this config:
mouse_warping container
seat seat0 hide_cursor 1000
When I change focus with the keyboard with focus <direction>, the cursor warps to the new container as desired but becomes visible for 1 second.
This is annoying, the cursor keeps flashing back on every focus change. It is also an issue with mouse_warping output at a lesser extent.
Programmatic cursor warps should update the cursor coordinates without making it visible again. Only physical mouse movement should unhide the cursor.
Suggested fix:
In sway/input/cursor.c, remove the cursor_unhide(cursor); calls in:
- cursor_warp_to_container() (line 1178)
- cursor_warp_to_workspace() (line 1195)
I can submit a PR if you're interested.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or incremental improvementNew feature or incremental improvement