[PATCH] Fix reduce screen brightness feature for 64bit builds

Marcus Overhagen marcus.overhagen at gmail.com
Wed May 29 19:13:24 CEST 2013


This fixes the "Reduce screen brightness when computer is inactive"
feature for 64 bit installations that use the xfpm-power-backlight-helper.

The level setting is stored as guint, loading it into a glong on
64 bit linux has the upper 32 bit unitialized and doesn't work,
except when they happened to be zero by chance.

This does not fix the alternate codepath used for xrandr extension,
as I can't test that currently.

Please apply this patch.

Marcus Overhagen (1):
  Fix for the "Reduce screen brightness when computer is inactive"    
    feature on 64 bit installations that use the
    xfpm-power-backlight-helper.

 src/xfpm-backlight.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
1.8.1.2



More information about the Xfce4-dev mailing list