⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module idle_inhibit

Module idle_inhibit 

Source
Expand description

Idle Inhibit Protocol (zwp_idle_inhibit_manager_v1)

Allows surfaces to prevent the system from going idle (screen dimming, locking) while they are visible. This is commonly used by video players, presentation software, and games to keep the display active.

An inhibitor is associated with a specific surface. The idle state is inhibited as long as at least one active inhibitor exists whose surface is visible (mapped).

Structs§

IdleInhibitManager
Manages idle inhibitors and queries the global idle-inhibited state.
IdleInhibitor
An idle inhibitor tied to a specific surface.

Constants§

ZWP_IDLE_INHIBITOR_V1_DESTROY
destroy
ZWP_IDLE_INHIBIT_MANAGER_V1
Wayland global interface name for idle inhibit manager
ZWP_IDLE_INHIBIT_MANAGER_V1_CREATE_INHIBITOR
create_inhibitor(id: new_id, surface: object)
ZWP_IDLE_INHIBIT_MANAGER_V1_DESTROY
destroy
ZWP_IDLE_INHIBIT_MANAGER_V1_VERSION
Protocol version