aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2013-02-08 04:25:11 +0000
committerCarsten Haitzler <raster@rasterman.com>2013-02-08 04:25:11 +0000
commitac9841acb5234fc76a60beab05c98be9937af9bc (patch)
tree8695121ea46452907b2606defb8d5e41296ca0dc
parent7a67306f992963cbd0af5dff92fe35986a1859a9 (diff)
downloadenlightenment-ac9841acb5234fc76a60beab05c98be9937af9bc.tar.gz
enlightenment-ac9841acb5234fc76a60beab05c98be9937af9bc.tar.xz
enlightenment-ac9841acb5234fc76a60beab05c98be9937af9bc.zip
ummmm how about we donmt break suspend with comp continually retruing
to suspend because a RESUME signal has a timeout to try suspending! SVN revision: 83758
-rw-r--r--src/bin/e_comp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 6c2a74879..6a04f52ad 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -3907,8 +3907,11 @@ _e_comp_sys_emit_cb_wait(E_Sys_Action a, const char *sig, const char *rep, Eina_
first = EINA_FALSE;
}
}
- if (action_timeout) ecore_timer_del(action_timeout);
- action_timeout = ecore_timer_add(ACTION_TIMEOUT, (Ecore_Task_Cb)_e_comp_sys_action_timeout, (intptr_t*)(long)a);
+ if (rep)
+ {
+ if (action_timeout) ecore_timer_del(action_timeout);
+ action_timeout = ecore_timer_add(ACTION_TIMEOUT, (Ecore_Task_Cb)_e_comp_sys_action_timeout, (intptr_t*)(long)a);
+ }
}
static void