block backlight updating during animation

updating backlight in this context causes my backlight to never return to normal levels, and blocking it doesn't seem to be unreasonable here
This commit is contained in:
Mike Blumenkrantz 2014-01-20 21:05:51 -05:00
parent 3ae9e394ec
commit a310de50c8
1 changed files with 2 additions and 1 deletions

View File

@ -276,7 +276,8 @@ e_backlight_devices_get(void)
static Eina_Bool
_e_backlight_handler(void *d __UNUSED__, int type __UNUSED__, void *ev __UNUSED__)
{
e_backlight_update();
if (!bl_anim)
e_backlight_update();
return ECORE_CALLBACK_PASS_ON;
}