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

git pushed a commit to branch master
in repository efl.

View the commit online.

commit 3ca07b9b148ab1d0df4a0092ee72aaf5231d0afd
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Sun Jun 29 18:36:40 2025 +0100

    elm: allow norender withdrawn to be swizzled by env var
---
 src/lib/elementary/elm_config.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 4ca53ad1f1..1829fb78a7 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -3206,7 +3206,13 @@ _env_get(void)
    s = _getenv_once("ELM_AUTO_THROTTLE_AMOUNT");
    if (s) _elm_config->auto_throttle_amount = _elm_atof(s);
    s = _getenv_once("ELM_AUTO_NORENDER_WITHDRAWN");
-   if (s) _elm_config->auto_norender_withdrawn = EINA_TRUE;
+   if (s)
+    {
+      if (atoi(s) == 1)
+        _elm_config->auto_norender_withdrawn = EINA_TRUE;
+      else
+        _elm_config->auto_norender_withdrawn = EINA_FALSE;
+    }
    s = _getenv_once("ELM_AUTO_NORENDER_ICONIFIED_SAME_AS_WITHDRAWN");
    if (s) _elm_config->auto_norender_iconified_same_as_withdrawn = EINA_TRUE;
    s = _getenv_once("ELM_AUTO_FLUSH_WITHDRAWN");

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

Reply via email to