aboutsummaryrefslogtreecommitdiff
path: root/doc/riverctl.1.scd
diff options
context:
space:
mode:
authorshironeko <shironeko@tesaguri.club>2022-08-01 20:31:50 -0400
committerIsaac Freund <mail@isaacfreund.com>2022-12-01 14:23:02 +0100
commit8036ae2bd179d66f6317e5c7cbd388e88877d9f7 (patch)
tree1b616d29d08a108af94a4654c8374fed7cb23eb6 /doc/riverctl.1.scd
parent3141940efb7a241cc4998e7f8263533823f75ef3 (diff)
downloadriver-8036ae2bd179d66f6317e5c7cbd388e88877d9f7.tar.gz
river-8036ae2bd179d66f6317e5c7cbd388e88877d9f7.tar.xz
Cursor: add on-focus-change option
Warp the cursor to the center of the focused view if the cursor is not in the bounding box of that view already. This helps the user to keep track of their cursor when they mostly use the keyboard and the cursor becomes hidden most of the time, also helps trackpad/trackpoint users.
Diffstat (limited to 'doc/riverctl.1.scd')
-rw-r--r--doc/riverctl.1.scd4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/riverctl.1.scd b/doc/riverctl.1.scd
index b75fcae..aaddd9b 100644
--- a/doc/riverctl.1.scd
+++ b/doc/riverctl.1.scd
@@ -307,12 +307,14 @@ A complete list may be found in _/usr/include/linux/input-event-codes.h_
Hide the cursor when pressing any non-modifier key. Show the cursor
again on any movement.
-*set-cursor-warp* *disabled*|*on-output-change*
+*set-cursor-warp* *disabled*|*on-output-change*|*on-focus-change*
Set the cursor warp mode. There are two available modes:
- _disabled_: Cursor will not be warped. This is the default.
- _on-output-change_: When a different output is focused, the cursor will be
warped to its center.
+ - _on-focus-change_: When a different view/output is focused, the cursor will be
+ warped to its center.
*set-repeat* _rate_ _delay_
Set the keyboard repeat rate to _rate_ key repeats per second and