discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0988340f81aaf269749d37c4ec94a04226d9d61d

commit 0988340f81aaf269749d37c4ec94a04226d9d61d
Author: Mike Blumenkrantz <[email protected]>
Date:   Sun Sep 7 11:13:45 2014 -0400

    add another main loop iteration after resuming for desklock visibility
    
    fix T1498
---
 src/bin/e_sys.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_sys.c b/src/bin/e_sys.c
index 0700569..8c5d48e 100644
--- a/src/bin/e_sys.c
+++ b/src/bin/e_sys.c
@@ -462,6 +462,13 @@ _e_sys_systemd_hibernate(void)
    eldbus_proxy_call(login1_manger_proxy, "Hibernate", NULL, NULL, -1, "b", 0);
 }
 
+static void
+_e_sys_resume_job(void *d EINA_UNUSED)
+{
+   ecore_event_add(E_EVENT_SYS_RESUME, NULL, NULL, NULL);
+   _e_sys_comp_resume();
+}
+
 static Eina_Bool
 _e_sys_susp_hib_check_timer_cb(void *data __UNUSED__)
 {
@@ -475,8 +482,7 @@ _e_sys_susp_hib_check_timer_cb(void *data __UNUSED__)
              e_object_del(E_OBJECT(_e_sys_dialog));
              _e_sys_dialog = NULL;
           }
-        ecore_event_add(E_EVENT_SYS_RESUME, NULL, NULL, NULL);
-        _e_sys_comp_resume();
+        ecore_job_add(_e_sys_resume_job, NULL);
         return EINA_FALSE;
      }
    _e_sys_susp_hib_check_last_tick = t;

-- 


Reply via email to