treeland_screensaver_v1 ↗
Copyright
SPDX-FileCopyrightText: 2025 UnionTech Software Technology Co., Ltd. SPDX-License-Identifier: MIT
- treeland_screensaver_v1 — Simple idle inhibit protocol
screensaver control 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_screensaver_v1
treeland_screensaver_v1
- inhibit — Inhibit idleness
- uninhibit — Uninhibit idleness
- destroy — destroy treeland_screensaver_v1 object
- error
Simple idle inhibit protocol
This object implements a simple idle inhibit protocol used to implement org.freedesktop.ScreenSaver D-Bus interface.
Call inhibit to prevent treeland from entering idle state. Call uninhibit or disconnect from the global to release the inhibit.
If the client disconnects from the compositor, the inhibit associated with that client is automatically released.
There can be only one inhibit per client per time. Calling inhibit multiple times will raise an error. Call uninhibit before inhibit to update application_name and reason recorded.