xf86-video-intel/tools
Hans de Goede e860b3eaed backlight-helper: Simplify reading the level from stdin
Since the helper is a standalone app, the usual xserver rules of not using
stdio because of signal handling don't apply.

And since the helper does run with elevated rights, it is important to keep
the code KISS so that it can be audited easily.

This commit replaces the hard to read "raw" read loop with a much simpler
loop using fgets, improving readability of the code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2014-02-17 18:38:54 +00:00
..
.gitignore intel: Add a helper for setting backlight without root rights 2014-02-15 15:33:47 +00:00
Makefile.am Backlight helper build fixes 2014-02-15 17:39:01 +00:00
backlight_helper.c backlight-helper: Simplify reading the level from stdin 2014-02-17 18:38:54 +00:00
intel-virtual-output.man sna: Expand the array of fake outputs if the last is used 2013-08-31 20:48:24 +01:00
org.x.xf86-video-intel.backlight-helper.policy.in Backlight helper build fixes 2014-02-15 17:39:01 +00:00
virtual.c intel-virtual-output: Do not resize the screen whilst all outputs are off 2014-02-12 16:21:30 +00:00