[PATCH] xrandr: fix brightness to prevent gamma to overflow and to allow 0

Éric Piel E.A.B.Piel at tudelft.nl
Mon Jan 11 16:45:09 PST 2010


Op 11-01-10 12:46, Matthias Hopf schreef:
>  inline double min (double x, double y)
> {
>   return x < y ? x : y;
> }
> 
> instead.

Here is a fixed version.

Cheers,
Eric
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-xrandr-fix-brightness-to-prevent-gamma-to-overflow-a.patch
Url: http://lists.x.org/archives/xorg-devel/attachments/20100112/bfc4caa7/attachment.ksh 


More information about the xorg-devel mailing list