xwayland: allow windows to scale themselves
This commit is contained in:
parent
cc8db84289
commit
19b07fa7dc
40 changed files with 800 additions and 80 deletions
|
|
@ -593,6 +593,10 @@
|
|||
"ui-drag": {
|
||||
"description": "Configures the ui-drag settings.\n\n- Example:\n\n ```toml\n ui-drag = { enabled = false, threshold = 20 }\n ```\n",
|
||||
"$ref": "#/$defs/UiDrag"
|
||||
},
|
||||
"xwayland": {
|
||||
"description": "Configures the Xwayland settings.\n\n- Example:\n\n ```toml\n xwayland = { scaling-mode = \"downscaled\" }\n ```\n",
|
||||
"$ref": "#/$defs/Xwayland"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
@ -1399,6 +1403,25 @@
|
|||
"variant2",
|
||||
"variant3"
|
||||
]
|
||||
},
|
||||
"XScalingMode": {
|
||||
"type": "string",
|
||||
"description": "The scaling mode of X windows.\n\n- Example:\n\n ```toml\n xwayland = { scaling-mode = \"downscaled\" }\n ```\n",
|
||||
"enum": [
|
||||
"default",
|
||||
"downscaled"
|
||||
]
|
||||
},
|
||||
"Xwayland": {
|
||||
"description": "Describes Xwayland settings.\n\n- Example:\n\n ```toml\n xwayland = { scaling-mode = \"downscaled\" }\n ```\n",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scaling-mode": {
|
||||
"description": "The scaling mode of X windows.",
|
||||
"$ref": "#/$defs/XScalingMode"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue