Comment 5 for bug 1739805

Revision history for this message
In , 2460acc (2460acc) wrote :

The following lines in common/xfpm-brightness.c seem to be the cause of the course brightness steps.

http://git.xfce.org/xfce/xfce4-power-manager/tree/common/xfpm-brightness.c

214 brightness->priv->step = max <= 20 ? 1 : max / 10;
366 brightness->priv->step = ret <= 20 ? 1 : ret / 10;

I wonder if you could change these numbers to 20 or 30 to allow finer steps, e.g.

  brightness->priv->step = max <= 30 ? 1 : max / 30;

I'm going to try and recompile but it looks a bit complicated for me.