summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Aguirre <aguirre.nicolas@gmail.com>2015-08-07 00:16:34 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-12-03 11:03:55 -0800
commit6de3379c6d4207b3f2cab2fe03d856eefda34d38 (patch)
treeca2dc7ec540cc9735303a9c1c8fdda6d5748e67e
parent020e4187a7a8eda7dfd9d488a789ba9970fe6263 (diff)
downloadelementary-6de3379c6d4207b3f2cab2fe03d856eefda34d38.tar.gz
cocoa: call ecore_cocoa_init as part of the init process.
This mimic what x and wayland do. This is need if you want that ecore_event was inited early. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/elm_config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index f64e4262c..82b82581b 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -3434,6 +3434,9 @@ _elm_config_sub_init(void)
}
}
#endif
+#ifdef HAVE_ELEMENTARY_COCOA
+ ecore_cocoa_init();
+#endif
char buf[PATH_MAX];
size_t len;
int ok = 0;