IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

IdleInhibitManagerV1 QML Type

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

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

IdleInhibitManagerV1 QML Type

  • Import Statement: import QtWayland.Compositor 1.5

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:

 
Sélectionnez
import QtWayland.Compositor

WaylandCompositor {
    IdleInhibitManagerV1 {
        // ...
    }
}

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

See Also

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+