mirror of
https://github.com/labwc/labwc.git
synced 2026-02-16 22:05:27 -05:00
wayland: add support for security-context-v1
This commit is contained in:
parent
15135465d9
commit
65f7499f1c
9 changed files with 72 additions and 4 deletions
|
|
@ -851,7 +851,8 @@ defined as shown below.
|
|||
|
||||
*Criteria*
|
||||
|
||||
*<windowRules><windowRule identifier="" title="" type="" matchOnce="">*
|
||||
*<windowRules><windowRule identifier="" title="" sandboxEngine=""
|
||||
sandboxAppId="" type="" matchOnce="">*
|
||||
Define a window rule for any window which matches the criteria defined
|
||||
by the attributes *identifier*, *title*, or *type*. If more than one
|
||||
is defined, AND logic is used, so all have to match.
|
||||
|
|
@ -863,6 +864,11 @@ defined as shown below.
|
|||
|
||||
*title* is the title of the window.
|
||||
|
||||
*sandboxEngine* is a sandbox engine name from the security context.
|
||||
|
||||
*sandboxAppId* is a sandbox-specific identifier for an application
|
||||
from the security context.
|
||||
|
||||
*type* [desktop|dock|toolbar|menu|utility|splash|dialog|dropdown_menu|
|
||||
popup_menu|tooltip|notification|combo|dnd|normal] relates to
|
||||
NET_WM_WINDOW_TYPE for XWayland clients. Native wayland clients have
|
||||
|
|
|
|||
|
|
@ -552,8 +552,8 @@
|
|||
|
||||
<!--
|
||||
# Window Rules
|
||||
# - Criteria can consist of 'identifier' or 'title' or both (in which
|
||||
# case AND logic is used).
|
||||
# - Criteria can consist of 'identifier', 'title', 'sandboxEngine' or
|
||||
# 'sandboxAppId'. AND logic is used when multiple options are specified.
|
||||
# - 'identifier' relates to app_id for native Wayland windows and
|
||||
# WM_CLASS for XWayland clients.
|
||||
# - Criteria can also contain `matchOnce="true"` meaning that the rule
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue