raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=eba37f40a6e3a9294ef0c4ed00ab2e70c1d07b8a
commit eba37f40a6e3a9294ef0c4ed00ab2e70c1d07b8a Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Mon Feb 10 08:09:47 2020 +0000 backlight - on get fails, also retry a few times so sometimes i see gets fail, especially on wakeup, so retry. --- src/bin/e_backlight.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c index 10259be03..674de430f 100644 --- a/src/bin/e_backlight.c +++ b/src/bin/e_backlight.c @@ -90,8 +90,8 @@ _backlight_system_ddc_get_cb(void *data, const char *params) if (!bd->edid) return; if (!!strncmp(bd->edid, edid, strlen(edid))) return; e_system_handler_del("ddc-val-get", _backlight_system_ddc_get_cb, bd); - if (val < 0) return; // get failed.... don't update - fval = (double)val / 100.0; + if (val < 0) fval = -1.0; + else fval = (double)val / 100.0; if ((fabs(fval - bd->val) >= DBL_EPSILON) || (val == -1)) { bd->val = fval; --