AHHH ok, Disregard all previous mails on this subject. This commit 
addresses my concern(s) properly !! :)

As long as this is being raised, then we can catch is Somewhere (which 
was my concern num 1) regardless of WHo changes it (concern num 2).

Cheers !! This adresses all my prior concerns so please toss out previos 
mails on this topic ;)

Good Job !!

dh

On 21/01/14 22:26, Mike Blumenkrantz wrote:
> discomfitor pushed a commit to branch master.
>
> http://git.enlightenment.org/core/enlightenment.git/commit/?id=a8d3a0e57f618029c142621a683bb2ff0b7de73f
>
> commit a8d3a0e57f618029c142621a683bb2ff0b7de73f
> Author: Mike Blumenkrantz <[email protected]>
> Date:   Tue Jan 21 17:26:21 2014 -0500
>
>      emit backlight changed event for X backlight events
> ---
>   src/bin/e_comp_x.c | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
> index 4e70d58..bd2fa42 100644
> --- a/src/bin/e_comp_x.c
> +++ b/src/bin/e_comp_x.c
> @@ -4314,7 +4314,11 @@ _e_comp_x_backlight_notify_cb(void *data EINA_UNUSED, 
> int t EINA_UNUSED, Ecore_X
>      x_bl = ecore_x_randr_output_backlight_level_get(0, ev->output);
>
>      if (x_bl >= 0.0)
> -     e_bl_val = x_bl;
> +     {
> +        if (fabs(e_bl_val - x_bl) < DBL_EPSILON)
> +          ecore_event_add(E_EVENT_BACKLIGHT_CHANGE, NULL, NULL, NULL);;
> +        e_bl_val = x_bl;
> +     }
>      return ECORE_CALLBACK_RENEW;
>   }
>
>


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to