mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
rcxml: allow to disable privileged interfaces
This commit is contained in:
parent
c9b4da2ce2
commit
639fade49a
6 changed files with 121 additions and 0 deletions
|
|
@ -1445,6 +1445,41 @@ situation.
|
|||
Whether to apply a bilinear filter to the magnified image, or
|
||||
just to use nearest-neighbour. Default is true - bilinear filtered.
|
||||
|
||||
## PRIVILEGED INTERFACES
|
||||
|
||||
Labwc supports a small set of privileged wayland interfaces. All of these
|
||||
interfaces are enabled by default. Security conscious users may override this by
|
||||
defining a `<privilegedInterfaces>` block:
|
||||
|
||||
```
|
||||
<privilegedInterfaces>
|
||||
<allow>zwlr_layer_shell_v1</allow>
|
||||
<allow>zwlr_virtual_pointer_manager_v1</allow>
|
||||
</privilegedInterfaces>
|
||||
```
|
||||
|
||||
*<privilegedInterfaces><allow>*
|
||||
Name of the interface that should be allowed.
|
||||
|
||||
This is the full list of interfaces that can be controlled with this mechanism:
|
||||
|
||||
- `wp_drm_lease_device_v1`
|
||||
- `zwlr_gamma_control_manager_v1`
|
||||
- `zwlr_output_manager_v1`
|
||||
- `zwlr_output_power_manager_v1`
|
||||
- `zwp_input_method_manager_v2`
|
||||
- `zwlr_virtual_pointer_manager_v1`
|
||||
- `zwp_virtual_keyboard_manager_v1`
|
||||
- `zwlr_export_dmabuf_manager_v1`
|
||||
- `zwlr_screencopy_manager_v1`
|
||||
- `zwlr_data_control_manager_v1`
|
||||
- `ext_idle_notifier_v1`
|
||||
- `ext_workspace_manager_v1`
|
||||
- `zwlr_foreign_toplevel_manager_v1`
|
||||
- `ext_foreign_toplevel_list_v1`
|
||||
- `ext_session_lock_manager_v1`
|
||||
- `zwlr_layer_shell_v1`
|
||||
|
||||
## ENVIRONMENT VARIABLES
|
||||
|
||||
*XCURSOR_PATH*
|
||||
|
|
|
|||
|
|
@ -691,4 +691,8 @@
|
|||
<useFilter>yes</useFilter>
|
||||
</magnifier>
|
||||
|
||||
<privilegedInterfaces>
|
||||
<allow>zwlr_layer_shell_v1</allow>
|
||||
</privilegedInterfaces>
|
||||
|
||||
</labwc_config>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue