config: make focus-follows-mouse optional
This commit is contained in:
parent
fe2663fca3
commit
a12065a915
14 changed files with 96 additions and 6 deletions
|
|
@ -569,6 +569,10 @@
|
|||
"idle": {
|
||||
"description": "The configuration of the idle timeout.\n\nChanging thise field after compositor startup has no effect. Use `jay idle`\nor a `configure-idle` action to change the idle timeout at runtime.\n\n- Example:\n\n ```toml\n idle.minutes = 10\n ```\n",
|
||||
"$ref": "#/$defs/Idle"
|
||||
},
|
||||
"focus-follows-mouse": {
|
||||
"type": "boolean",
|
||||
"description": "Configures whether moving the mouse over a window automatically moves the keyboard\nfocus to that window.\n\nThe default is `true`.\n"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
|
|||
|
|
@ -1086,6 +1086,15 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a [Idle](#types-Idle).
|
||||
|
||||
- `focus-follows-mouse` (optional):
|
||||
|
||||
Configures whether moving the mouse over a window automatically moves the keyboard
|
||||
focus to that window.
|
||||
|
||||
The default is `true`.
|
||||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
|
||||
<a name="types-Connector"></a>
|
||||
### `Connector`
|
||||
|
|
|
|||
|
|
@ -2039,6 +2039,14 @@ Config:
|
|||
```toml
|
||||
idle.minutes = 10
|
||||
```
|
||||
focus-follows-mouse:
|
||||
kind: boolean
|
||||
required: false
|
||||
description: |
|
||||
Configures whether moving the mouse over a window automatically moves the keyboard
|
||||
focus to that window.
|
||||
|
||||
The default is `true`.
|
||||
|
||||
|
||||
Idle:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue