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 d14ff40c9eb4be0cea1a4593db733ae3a18bed55
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Thu Jan 9 19:47:58 2025 +0000

    backlight - return proper check for having bl devices
    
    makes wizard do the right thing on setup of bl module
---
 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 4ed88cbda..c6c3cfd5f 100644
--- a/src/bin/e_backlight.c
+++ b/src/bin/e_backlight.c
@@ -752,8 +752,8 @@ e_backlight_shutdown(void)
 E_API Eina_Bool
 e_backlight_exists(void)
 {
-   // XXX: properly check backlight devices
-   return EINA_TRUE;
+   if (_devices) return EINA_TRUE;
+   return EINA_FALSE;
 }
 
 E_API void

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

Reply via email to