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 committed by Cedric BAIL
parent 9faa5b3df8
commit 960eadd4e0
1 changed files with 2 additions and 1 deletions

View File

@ -282,7 +282,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;
}