Support for Dpms

Review Request #125018 - Created Sept. 1, 2015 and submitted

Martin Flöser
broulik, sebas
Allows to retrieve the OutputInterface* for a given native wl_resource.
To support this we need to track the resources bound for each Output.

[server] Add a DpmsManagerInterface

Adding support for a org_kde_kwin_dpms interface. On server side
Dpms is mostly bound to the OutputInterface exposing just a very
small manager. Whether Dpms is supported and which mode is used is
tracked directly on the OutputInterface.

[client] Dpms protocol

[tests] Add an example for the Dpms interface

Uses QWidgets to render a very small UI.
* lists each Output
* for each output shows whether dpms is supported
* and which dpms mode it's in
* and provides a button to change the mode

[autotests] Extend tests for Dpms

See added test application.


  • 0
  • 10
  • 1
  • 11
Description From Last Updated
Sebastian Kügler
Martin Flöser
Martin Flöser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 1a463cd779ecc35afabf2a149d30d31da615ef43 by Martin Gräßlin to branch master.