projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7645f39
)
only default to led subsystem backlight if it isn't a mail or kbd device
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Sun, 7 Sep 2014 13:16:49 +0000
(09:16 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Sun, 7 Sep 2014 13:25:16 +0000
(09:25 -0400)
fix T1497
do backlights with subsystem=leds still exist or have they fixed that yet?
src/bin/e_backlight.c
patch
|
blob
|
history
diff --git
a/src/bin/e_backlight.c
b/src/bin/e_backlight.c
index
137e144
..
3796f42
100644
(file)
--- a/
src/bin/e_backlight.c
+++ b/
src/bin/e_backlight.c
@@
-425,7
+425,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 */