IdleInhibitManagerV1 QML Type

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

Import Statement: import QtWayland.Compositor 1.0
Since: Qt 5.14

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qml-qtwayland-compositor-idleinhibitmanagerv1.html