[PATCH] fix xrandr backlight brightness control for 64 bit builds

Marcus Overhagen marcus.overhagen at gmail.com
Thu May 30 00:35:28 CEST 2013


Brightness control using xrandr API was broken on 64 bit builds because
a 64 bit long value was passed into an api expecting 32 bit integer.

Marcus Overhagen (1):
  Fix xrandr backlight brightness control on 64 bit Linux.     
  The display brightness property is a 32 bit integer, using
  a long doesn't work on 64 bit build.

 common/xfpm-brightness.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

-- 
1.8.1.2



More information about the Xfce4-dev mailing list