This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit 0c975f7bfc231e04e1056ed354e502add55a3c1f
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Sun Aug 3 22:52:51 2025 +0100

    system - bl - be more filtery on all :: led devices
    
    these all seem to be led's or kbd backlights so anything with ::
---
 src/bin/system/e_system_backlight.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/bin/system/e_system_backlight.c b/src/bin/system/e_system_backlight.c
index 5db37fbc9..65db8dbf8 100644
--- a/src/bin/system/e_system_backlight.c
+++ b/src/bin/system/e_system_backlight.c
@@ -236,11 +236,22 @@ static Eina_Bool
 _light_device_include(const char *dev)
 { // filter out known undesirable devices
    fprintf(stderr, "BL: found [%s]\n", dev);
+   if (strstr(dev, "::")) return EINA_FALSE;
+   // the above catches all the below
+/*
    if (strstr(dev, "::capslock")) return EINA_FALSE;
    if (strstr(dev, "::numlock")) return EINA_FALSE;
    if (strstr(dev, "::scrolllock")) return EINA_FALSE;
    if (strstr(dev, "::compose")) return EINA_FALSE;
    if (strstr(dev, "::kana")) return EINA_FALSE;
+   if (strstr(dev, "::micmute")) return EINA_FALSE;
+   if (strstr(dev, "::mute")) return EINA_FALSE;
+   if (strstr(dev, "::kbd_backlight")) return EINA_FALSE;
+   if (strstr(dev, "::lid_logo_dot")) return EINA_FALSE;
+   if (strstr(dev, "::power")) return EINA_FALSE;
+   if (strstr(dev, "::standby")) return EINA_FALSE;
+   if (strstr(dev, "::thinkvantage")) return EINA_FALSE;
+ */
    return EINA_TRUE;
 }
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to