Xfce4-power-manager and brightness.

Mark Trompell mark at foresightlinux.org
Mon Nov 28 10:50:10 CET 2011


Hi,
xfce4-power-manager calculates the dimmed brightness in relation to
max_brightness:
dim_level = dim_level * backlight->priv->max_level / 100;
I wonder if that shouldn't be calculated in relation to the currently
used level, at least that is what I expected it to do.
dim_level = dim_level * backlight->priv->last_level / 100;

Any ideas on that?
-- 
Mark Trompell

Foresight Linux Xfce Edition
Cause your desktop should be freaking cool
(and Xfce)


More information about the Xfce4-dev mailing list