From 8036ae2bd179d66f6317e5c7cbd388e88877d9f7 Mon Sep 17 00:00:00 2001 From: shironeko Date: Mon, 1 Aug 2022 20:31:50 -0400 Subject: 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. --- doc/riverctl.1.scd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3