Port XRandrBacklight to XCB

Review Request #121386 - Created Dec. 7, 2014 and submitted

Information
Kai Uwe Broulik
powerdevil
master
Reviewers
solid
graesslin

This ports the XRandrBacklight class to XCB.

The code is adapted from xbacklight, drops the legacy backlight stuff, whatever that is.

It still uses XSync since xcb_aux_sync yields a linker error here (what did I overlook?). Pretty ugly C stuff (fre...), suggestions on how to improve the code look (nullptr, C++ style casts, etc) welcome.

My hopes were that it would give us a more precise backlight handling but I get a range of 0..10 nonetheless. Other than that seems to work exactly like it did before.

Issues

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

Status: Closed (submitted)

Loading...