1
0
Fork 0
forked from wry/wry

add mouse_follows_focus

This commit is contained in:
kossLAN 2026-06-06 20:05:20 -04:00
parent e61f042d8b
commit 3a4105dd42
No known key found for this signature in database
8 changed files with 72 additions and 22 deletions

View file

@ -2142,7 +2142,7 @@ The table has the following fields:
The value of this field should be a boolean.
- `unstable-mouse-follows-focus` (optional):
- `mouse-follows-focus` (optional):
Configures whether the mouse cursor is automatically centered on the active window
when focus changes via keyboard commands.
@ -2151,10 +2151,21 @@ The table has the following fields:
active window when focus changes through keyboard commands such as `focus-left`,
`focus-right`, `show-workspace`, etc.
The default is `false`.
The default is `true`.
This option is unstable due to various issues. It is not subject to the usual
semver guarantees.
- Example:
```toml
mouse-follows-focus = false
```
The value of this field should be a boolean.
- `unstable-mouse-follows-focus` (optional):
Legacy alias for `mouse-follows-focus`.
Prefer `mouse-follows-focus` in new configurations.
- Example: