cedric pushed a commit to branch enlightenment-0.17.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=c1366d913f28c53bc2c6ed59c65598d59be9f89b

commit c1366d913f28c53bc2c6ed59c65598d59be9f89b
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Sun Sep 7 09:16:49 2014 -0400

    only default to led subsystem backlight if it isn't a mail or kbd device
    
    fix T1497
    
    do backlights with subsystem=leds still exist or have they fixed that yet?
---
 src/bin/e_backlight.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c
index 643a5ee..65d1461 100644
--- a/src/bin/e_backlight.c
+++ b/src/bin/e_backlight.c
@@ -491,7 +491,10 @@ _bl_sys_find(void)
         EINA_LIST_FOREACH(pdevs, l, f)
           {
              if (!bl_sysval)
-               bl_sysval = eina_stringshare_add(f);
+               {
+                  if ((!strstr(f, "kbd")) && (!strstr(f, "mail")))
+                    bl_sysval = eina_stringshare_add(f);
+               }
           }
      }
    /* clear out preferred devs list */

-- 


Reply via email to