From acfa5248934026b5ca4e2df302fcaa0ea34fa914 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 5 Jul 2017 11:21:22 +0900 Subject: [PATCH] Initialize and finalize ecore wayland To use ecore wl events, the ecore_wl_init() API should be called. Change-Id: I9c33f988779b7c3ad6862a1729371b487d7eecb9 Signed-off-by: Hwankyu Jhun --- src/ui_base/appcore_ui_base.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui_base/appcore_ui_base.c b/src/ui_base/appcore_ui_base.c index 4aaa141..7e88080 100644 --- a/src/ui_base/appcore_ui_base.c +++ b/src/ui_base/appcore_ui_base.c @@ -795,6 +795,8 @@ EXPORT_API int appcore_ui_base_init(appcore_ui_base_ops ops, int argc, char **ar bundle *b; char appid[PATH_MAX] = {0, }; + ecore_wl_init(NULL); + appcore_ui_plugin_init(&ops, argc, argv, &hint); aul_app_get_appid_bypid(getpid(), appid, sizeof(appid)); __context.ops = ops; @@ -830,6 +832,7 @@ EXPORT_API void appcore_ui_base_fini(void) appcore_ui_plugin_fini(); appcore_base_fini(); + ecore_wl_shutdown(); } EXPORT_API void appcore_ui_base_pause(void) -- 2.7.4