config: add XWayland enabled option
This commit is contained in:
parent
4ca67772b3
commit
49274fb1c6
13 changed files with 85 additions and 10 deletions
|
|
@ -2349,6 +2349,10 @@
|
|||
"description": "Describes Xwayland settings.\n\n- Example:\n\n ```toml\n xwayland = { scaling-mode = \"downscaled\" }\n ```\n",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"description": "Enables or disables XWayland.\n\nThe default is `true`.\n"
|
||||
},
|
||||
"scaling-mode": {
|
||||
"description": "The scaling mode of X windows.",
|
||||
"$ref": "#/$defs/XScalingMode"
|
||||
|
|
|
|||
|
|
@ -5319,6 +5319,14 @@ Values of this type should be tables.
|
|||
|
||||
The table has the following fields:
|
||||
|
||||
- `enabled` (optional):
|
||||
|
||||
Enables or disables XWayland.
|
||||
|
||||
The default is `true`.
|
||||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `scaling-mode` (optional):
|
||||
|
||||
The scaling mode of X windows.
|
||||
|
|
|
|||
|
|
@ -3428,6 +3428,13 @@ Xwayland:
|
|||
xwayland = { scaling-mode = "downscaled" }
|
||||
```
|
||||
fields:
|
||||
enabled:
|
||||
kind: boolean
|
||||
required: false
|
||||
description: |
|
||||
Enables or disables XWayland.
|
||||
|
||||
The default is `true`.
|
||||
scaling-mode:
|
||||
ref: XScalingMode
|
||||
required: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue