Provides an extension that allows to inhibit the idle behavior of the compositor. More...
Header: | #include <QWaylandIdleInhibitManagerV1> |
CMake: | find_package(Qt6 COMPONENTS Waylandcompositor REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor) |
qmake: | QT += waylandcompositor |
Since: | Qt 5.14 |
Instantiated By: | IdleInhibitManagerV1 |
Inherits: | QWaylandCompositorExtensionTemplate |
QWaylandIdleInhibitManagerV1(QWaylandCompositor *compositor) | |
QWaylandIdleInhibitManagerV1() | |
virtual | ~QWaylandIdleInhibitManagerV1() |
virtual void | initialize() override |
const struct wl_interface * | interface() |
The QWaylandIdleInhibitV1 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.
QWaylandIdleInhibitManagerV1 corresponds to the Wayland interface, zwp_idle_inhibit_manager_v1
.
Inhibited surfaces have the QWaylandSurface::inhibitsIdle property set to true
.
See also QWaylandSurface::inhibitsIdle.
Constructs a QWaylandIdleInhibitManagerV1 object for the provided compositor.
Constructs a QWaylandIdleInhibitManagerV1 object.
[virtual]
QWaylandIdleInhibitManagerV1::~QWaylandIdleInhibitManagerV1()
Destructs a QWaylandIdleInhibitManagerV1 object.
[override virtual]
void QWaylandIdleInhibitManagerV1::initialize()
Initializes the extension.
[static]
const struct wl_interface *QWaylandIdleInhibitManagerV1::interface()
Returns the Wayland interface for the QWaylandIdleInhibitManagerV1.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qwaylandidleinhibitmanagerv1.html