1
0
Fork 0
forked from wry/wry

ei: add support for libei

This commit is contained in:
Julian Orth 2024-07-24 01:38:05 +02:00
parent 084fe50259
commit 40e87f8f91
69 changed files with 4340 additions and 72 deletions

View file

@ -585,6 +585,10 @@
"tearing": {
"description": "Configures the default tearing settings.\n\nThis can be overwritten for individual outputs.\n\nBy default, the tearing mode is `variant3`.\n\n- Example:\n\n ```toml\n tearing.mode = \"never\"\n ```\n",
"$ref": "#/$defs/Tearing"
},
"libei": {
"description": "Configures the libei settings.\n\n- Example:\n\n ```toml\n libei.enable-socket = true\n ```\n",
"$ref": "#/$defs/Libei"
}
},
"required": []
@ -967,6 +971,17 @@
}
]
},
"Libei": {
"description": "Describes libei settings.\n\n- Example:\n\n ```toml\n libei.enable-socket = \"true\"\n ```\n",
"type": "object",
"properties": {
"enable-socket": {
"type": "boolean",
"description": "Enables or disables the unauthenticated libei socket.\n\nEven if the socket is disabled, application can still request access via the portal.\n\nThe default is `false`.\n"
}
},
"required": []
},
"LogLevel": {
"type": "string",
"description": "A log level.",

View file

@ -1142,6 +1142,18 @@ The table has the following fields:
The value of this field should be a [Tearing](#types-Tearing).
- `libei` (optional):
Configures the libei settings.
- Example:
```toml
libei.enable-socket = true
```
The value of this field should be a [Libei](#types-Libei).
<a name="types-Connector"></a>
### `Connector`
@ -2045,6 +2057,32 @@ The table has the following fields:
The value of this field should be a string.
<a name="types-Libei"></a>
### `Libei`
Describes libei settings.
- Example:
```toml
libei.enable-socket = "true"
```
Values of this type should be tables.
The table has the following fields:
- `enable-socket` (optional):
Enables or disables the unauthenticated libei socket.
Even if the socket is disabled, application can still request access via the portal.
The default is `false`.
The value of this field should be a boolean.
<a name="types-LogLevel"></a>
### `LogLevel`

View file

@ -2228,6 +2228,17 @@ Config:
```toml
tearing.mode = "never"
```
libei:
ref: Libei
required: false
description: |
Configures the libei settings.
- Example:
```toml
libei.enable-socket = true
```
Idle:
@ -2457,3 +2468,25 @@ TearingMode:
description: |
Tearing is enabled when a single application is displayed and the application has
requested tearing.
Libei:
kind: table
description: |
Describes libei settings.
- Example:
```toml
libei.enable-socket = "true"
```
fields:
enable-socket:
kind: boolean
required: false
description: |
Enables or disables the unauthenticated libei socket.
Even if the socket is disabled, application can still request access via the portal.
The default is `false`.