treeland_app_id_resolver_v1 ↗
Copyright
SPDX-FileCopyrightText: 2025 UnionTech Software Technology Co., Ltd. SPDX-License-Identifier: MIT
- treeland_app_id_resolver_manager_v1 — manager for app id resolver
- treeland_app_id_resolver_v1 — app id resolver
resolve application identifiers for treeland
Warning! This protocol is EXPERIMENTAL and under active development. It may change at any time, including in backward-incompatible ways, without incrementing the interface major version and without prior notice. No compatibility guarantees of any kind are provided. Clients and compositors must track the upstream definition in treeland-protocols and must not rely on the current interface names, requests, events, or semantics remaining stable across releases.
treeland_app_id_resolver_v1
treeland_app_id_resolver_manager_v1
- destroy — destroy the manager
- get_resolver — create/bind a resolver object
- error
manager for app id resolver
Create a resolver object. Typically exactly one privileged helper (a Wayland client with DBus access) binds this interface and serves identification requests coming from the compositor.
treeland_app_id_resolver_v1
treeland_app_id_resolver_v1
- identify_request — ask client to resolve pidfd to application id
- respond — respond with app id and sandbox_engine_name (empty app_id on failure)
- destroy — destroy resolver
app id resolver
The compositor sends identify_request with a unique request_id and a pidfd. The client must answer exactly once via respond(request_id, app_id). If resolution fails respond with an empty string.