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?
This commit is contained in:
parent
03b422544a
commit
c1366d913f
|
@ -491,7 +491,10 @@ _bl_sys_find(void)
|
||||||
EINA_LIST_FOREACH(pdevs, l, f)
|
EINA_LIST_FOREACH(pdevs, l, f)
|
||||||
{
|
{
|
||||||
if (!bl_sysval)
|
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 */
|
/* clear out preferred devs list */
|
||||||
|
|
Loading…
Reference in New Issue