summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-10-20 16:03:46 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-20 16:03:46 -0400
commit528e25e0bb92542ec140e3082d8338528aa5a7a8 (patch)
tree6777af741523b440c9b78b2847a8436f675c0b0b
parente2b0c045b56a64de105a35f69966027284857ef2 (diff)
send SIGSTOP to sandbox gadgets on load if RUNNER_DEBUG env var is set
-rw-r--r--loader/loader.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 8658423..1b32304 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -275,6 +275,16 @@ win_add(Evas_Object *win)
275 return win; 275 return win;
276} 276}
277 277
278int
279eina_init(void)
280{
281 int (*_eina_init)(void) = dlsym(RTLD_NEXT, __func__);
282
283 if (wins) return _eina_init();
284 if (getenv("RUNNER_DEBUG")) raise(SIGSTOP);
285 return _eina_init();
286}
287
278Evas_Object * 288Evas_Object *
279elm_win_util_dialog_add(Evas_Object *parent, const char *name, const char *title) 289elm_win_util_dialog_add(Evas_Object *parent, const char *name, const char *title)
280{ 290{