1
0
Fork 0
forked from wry/wry

config: make focus-follows-mouse optional

This commit is contained in:
Julian Orth 2024-04-27 11:19:19 +02:00
parent fe2663fca3
commit a12065a915
14 changed files with 96 additions and 6 deletions

View file

@ -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": []

View file

@ -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`

View file

@ -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: