Search for usage in LXR

OutputConfigurationInterface Class Reference

#include <outputconfiguration_v2_interface.h>

Detailed Description

Holds a new configuration for the outputs.

The overall mechanism is to get a new OutputConfiguration from the OutputManagement global and apply changes through the OutputConfiguration::set* calls. When all changes are set, the client calls apply, which asks the server to look at the changes and apply them. The server will then signal back whether the changes have been applied successfully (setApplied()) or were rejected or failed to apply (setFailed()).

Once the client has called applied, the OutputManagementInterface send the configuration object to the compositor through the OutputManagement::configurationChangeRequested(OutputConfiguration*) signal, the compositor can then decide what to do with the changes.

These KWayland classes will not apply changes to the OutputDevices, this is the compositor's task. As such, the configuration set through this interface can be seen as a hint what the compositor should set up, but whether or not the compositor does it (based on hardware or rendering policies, for example), is up to the compositor. The mode setting is passed on to the DRM subsystem through the compositor. The compositor also saves this configuration and reads it on startup, this interface is not involved in that process.

See also

Definition at line 18 of file outputconfiguration_v2_interface.h.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Oct 19 2021 23:10:29 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.