summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2014-09-07 11:13:45 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2014-09-07 11:15:17 -0400
commit0988340f81aaf269749d37c4ec94a04226d9d61d (patch)
tree6e8342c868b680be77819d7b5d441d0de10c5ef6
parent400f44c6b8f94079a312eac74cf3092d5a65808a (diff)
downloadenlightenment-0988340f81aaf269749d37c4ec94a04226d9d61d.tar.gz
add another main loop iteration after resuming for desklock visibility
fix T1498
-rw-r--r--src/bin/e_sys.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/e_sys.c b/src/bin/e_sys.c
index 0700569609..8c5d48ed8d 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;