forked from enlightenment/enlightenment
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:
parent
3ae9e394ec
commit
a310de50c8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue