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 acb59e1c780045b60677ea6df40cf0f533df7f44
Author: Carsten Haitzler <[email protected]>
AuthorDate: Tue Jan 17 09:13:11 2023 +0000

    randr - for now don't just suspend when on battery and end up at 0 scr
---
 src/bin/e_randr2.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_randr2.c b/src/bin/e_randr2.c
index 686a2b501..6efb767e0 100644
--- a/src/bin/e_randr2.c
+++ b/src/bin/e_randr2.c
@@ -785,6 +785,7 @@ _screens_differ(E_Randr2 *r1, E_Randr2 *r2)
    return changed;
 }
 
+/*
 static Eina_Bool
 _cb_deferred_suspend_screen_change(void *data EINA_UNUSED)
 {
@@ -813,6 +814,7 @@ _cb_deferred_suspend_screen_change(void *data EINA_UNUSED)
      }
    return EINA_FALSE;
 }
+*/
 
 static Eina_Bool
 _cb_screen_change_delay(void *data EINA_UNUSED)
@@ -931,8 +933,9 @@ _cb_screen_change_delay(void *data EINA_UNUSED)
                   if ((e_config->screensaver_suspend_on_ac) ||
                       (e_powersave_mode_get() > E_POWERSAVE_MODE_LOW))
                     {
-                       printf("RRR: we should try and suspend now because on ac or suspend on ac is on\n");
-                       ecore_timer_add(1.0, _cb_deferred_suspend_screen_change, NULL);
+// disable for now.. moving to state system
+//                       printf("RRR: we should try and suspend now because on ac or suspend on ac is on\n");
+//                       ecore_timer_add(1.0, _cb_deferred_suspend_screen_change, NULL);
                     }
                }
           }

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

Reply via email to