discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=342bbee43450065c4efad0a654fd524abfcd0ee4
commit 342bbee43450065c4efad0a654fd524abfcd0ee4 Author: Mike Blumenkrantz <[email protected]> Date: Fri Apr 7 16:07:25 2017 -0400 re-set backlight level when resuming from suspend on some hw/systems, suspend sets brightness to maximum --- src/bin/e_sys.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/e_sys.c b/src/bin/e_sys.c index c034112..c09191a 100644 --- a/src/bin/e_sys.c +++ b/src/bin/e_sys.c @@ -174,7 +174,11 @@ _e_sys_comp_logout(void) static void _e_sys_comp_resume(void) { + Eina_List *l; + E_Zone *zone; evas_damage_rectangle_add(e_comp->evas, 0, 0, e_comp->w, e_comp->h); + EINA_LIST_FOREACH(e_comp->zones, l, zone) + e_backlight_level_set(zone, e_config->backlight.normal, -1.0); _e_sys_comp_zones_fade("e,state,sys,resume", EINA_FALSE); e_screensaver_deactivate(); } --
