mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
idle-inhibit: style adjustments and motivation
This commit is contained in:
parent
87a7afb641
commit
67285c1d57
3 changed files with 23 additions and 11 deletions
|
|
@ -3,6 +3,18 @@
|
|||
|
||||
#include <wayland-server.h>
|
||||
|
||||
/* This interface permits clients to inhibit the idle behavior such as
|
||||
* screenblanking, locking, and screensaving.
|
||||
*
|
||||
* This allows clients to ensure they stay visible instead of being hidden by
|
||||
* power-saving.
|
||||
*
|
||||
* Inhibitors are created for surfaces. They should only be in effect, while
|
||||
* this surface is visible.
|
||||
* The effect could also be limited to outputs it is displayed on (e.g.
|
||||
* dimm/dpms off outputs, except the one a video is displayed on).
|
||||
*/
|
||||
|
||||
struct wlr_idle_inhibit_manager_v1 {
|
||||
struct wl_list wl_resources; // wl_resource_get_link
|
||||
struct wl_list inhibitors; // wlr_idle_inhibit_inhibitor_v1::link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue