Provides an extension that allows to inhibit the idle behavior of the compositor. More...
Import Statement: | import QtWayland.Compositor |
Since: | Qt 5.14 |
Instantiates: | QWaylandIdleInhibitManagerV1 |
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.2/qml-qtwayland-compositor-idleinhibitmanagerv1.html