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

Martin crysman Zahradník crysman at seznam.cz
Thu May 30 20:15:00 CEST 2013


I do not know exactly what is this about, but if it fixes the bug on my
64b Xubuntu when the system is not remembering the brightness state
after entering the screensaver mode or after suspend, then I am totally
happy! :)

McZ

 
/Martin crysman Zahradník/
/www:/ crysmanovo.blogspot.com <http://crysmanovo.blogspot.com>
/e-mail:/ crysman at seznam.cz
/jabber:/ crysman at jabber.org
/Google talk/hangout:/ crysmanovo at gmail.com
/facebook:/ no way!
<http://crysmanovo.blogspot.cz/2013/04/proc-koncim-na-facebooku.html>
/Skype:/ no way!
<http://crysmanovo.blogspot.cz/2013/05/proc-nepouzivam-skype-resp-proc.html>
using Ekiga <http://ekiga.net> - SIP:crysman at ekiga.net
running GNU/Linux Xubuntu <http://xubuntu.org/>
On 29.5.2013 19:13, Marcus Overhagen wrote:
> 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(-)
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20130530/87e5128e/attachment.html>


More information about the Xfce4-dev mailing list