On 05/01/2012 04:29 PM, Carsten Haitzler (The Rasterman) wrote:
> On Tue, 01 May 2012 09:47:44 +0200 Massimo Maiurana<[email protected]>  said:
>
>> ok, let's say i set the cursor on the third position, which in our case
>> corresponds to level 1 (second level og brightness). all fine, xrandr says
>> that backlight is set to 1, regardless of what the cursor's position, but
>> that's the level I want so it's fine. in this situation, if I click on the
>> gadget the cursor moves to step 2, and the backlight goes to level 0 :(
>> the odd thing is that every time I click on the gadget it goes one step down,
>> so another click moves the cursor to step 1. this happens with some positions
>> of the cursor and not with others, specifically:
>> cursor at 10 ->  click on it ->  it stays at 10
>> cursor at 9 ->  click on it ->  it stays at 9
>> cursor at 8 ->  click on it ->  it stays at 8
>> cursor at 7 ->  click on it ->  it lowers to 6
>> cursor at 6 ->  click on it ->  it stays at 6
>> cursor at 5 ->  click on it ->  it stays at 5
>> cursor at 4 ->  click on it ->  it stays at 4
>> cursor at 3 ->  click on it ->  it lowers to 2
>> cursor at 2 ->  click on it ->  it lowers to 1
>> cursor at 1 ->  click on it ->  it lowers to 0
>>
>> let me know if I'm not clear enough :)
>
> you are seeing rounding here. a result of e fetching the current value and i
> think along the way setting it back, but in that process it getting rounded
> down due to limited resolution in backlight hw. i never see this as i
> pretty much have the bl set to full or minimmum and not much in between :)

I change my backlight multiple times a day depending on the ambient 
light. And I haven't seen these rounding errors since you fixed it many 
months ago.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to