Port DPMS to XCB

Review Request #122414 - Created Feb. 3, 2015 and submitted

Information
Kai Uwe Broulik
powerdevil
master
Reviewers
solid
graesslin

The documentation says that error events for void calls will be delivered to the event loop, what does that mean for us? Will Qt throw them away, or do we need to install an event handler for them similar to what the previous code did? Or use the checked variants?

Also adds some C++11 niceties and overall coding style cleanup. DPMS is now a required dependency for PowerDevil (is this a bad thing? given the thing was explicitly split out of the other actions).

Power button can turn off the screen, and after timeout turns off and properly wakes up again. Did not test inhibition handling.

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Martin Flöser
Kai Uwe Broulik
Hrvoje Senjan
Kai Uwe Broulik
Review request changed

Status: Closed (submitted)

Loading...