1
0
Fork 0
forked from wry/wry

config: add XWayland enabled option

This commit is contained in:
khyperia 2026-02-17 10:18:20 +01:00 committed by Julian Orth
parent 4ca67772b3
commit 49274fb1c6
13 changed files with 85 additions and 10 deletions

View file

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

View file

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

View file

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