summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2017-07-05 11:21:22 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2017-07-05 11:23:13 +0900
commitacfa5248934026b5ca4e2df302fcaa0ea34fa914 (patch)
treee20621793a13f3f87162610deec662334fd23023
parentb525984fc57b70bc02fffb8f875077675db69d93 (diff)
downloadapp-core-acfa5248934026b5ca4e2df302fcaa0ea34fa914.tar.gz
app-core-acfa5248934026b5ca4e2df302fcaa0ea34fa914.tar.bz2
app-core-acfa5248934026b5ca4e2df302fcaa0ea34fa914.zip
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 <h.jhun@samsung.com>
-rw-r--r--src/ui_base/appcore_ui_base.c3
1 files changed, 3 insertions, 0 deletions
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)