IdleInhibitManagerV1 QML Type

Provides an extension that allows to inhibit the idle behavior of the compositor. More...

Import Statement: import QtWayland.Compositor 1.4
Since: Qt 5.14
Instantiates: QWaylandIdleInhibitManagerV1

Detailed Description

The IdleInhibitManagerV1 extension provides a way for a client to inhibit the idle behavior of the compositor when a specific surface is visually relevant to the user.

IdleInhibitManagerV1 corresponds to the Wayland interface, zwp_idle_inhibit_manager_v1.

To provide the functionality of the extension in a compositor, create an instance of the IdleInhibitManagerV1 component and add it to the list of extensions supported by the compositor:

 import QtWayland.Compositor

 WaylandCompositor {
     IdleInhibitManagerV1 {
         // ...
     }
 }

Inhibited surfaces have the WaylandSurface::inhibitsIdle property set to true.

See also WaylandSurface::inhibitsIdle.