[][src]Module wayland_protocols::unstable::idle_inhibit::v1::client::zwp_idle_inhibitor_v1

context object for inhibiting idle behavior

An idle inhibitor prevents the output that the associated surface is visible on from being set to a state where it is not visually usable due to lack of user interaction (e.g. blanked, dimmed, locked, set to power save, etc.) Any screensaver processes are also blocked from displaying.

If the surface is destroyed, unmapped, becomes occluded, loses visibility, or otherwise becomes not visually relevant for the user, the idle inhibitor will not be honored by the compositor; if the surface subsequently regains visibility the inhibitor takes effect once again. Likewise, the inhibitor isn't honored if the system was already idled at the time the inhibitor was established, although if the system later de-idles and re-idles the inhibitor will take effect.

Structs

ZwpIdleInhibitorV1

Enums

Event
Request

Constants

REQ_DESTROY_SINCE

The minimal object version supporting this request

Statics

zwp_idle_inhibitor_v1_interface

C representation of this interface, for interop

zwp_idle_inhibitor_v1_requests

C-representation of the messages of this interface, for interop

Traits

EventHandler

An interface for handling events.