diff options
author | Janos Kovacs <jankovac503@gmail.com> | 2014-08-19 00:27:35 +0300 |
---|---|---|
committer | Janos Kovacs <jankovac503@gmail.com> | 2014-08-24 21:50:54 +0300 |
commit | a7c0ef9ca6979526a3f0255af1b87fd99906150f (patch) | |
tree | e498c554a22568a00bfa17d20e29cb6bdbe625d2 /src | |
parent | 544494f7609e68a60fae746d2de6fa451352827d (diff) | |
download | ico-uxf-weston-plugin-a7c0ef9ca6979526a3f0255af1b87fd99906150f.tar.gz ico-uxf-weston-plugin-a7c0ef9ca6979526a3f0255af1b87fd99906150f.tar.bz2 ico-uxf-weston-plugin-a7c0ef9ca6979526a3f0255af1b87fd99906150f.zip |
hook-in to GENIVI shell notifications
Change-Id: Ic6563de1656a6bfba64381dbbeb058e52e1d7424
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ico_window_mgr.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ico_window_mgr.c b/src/ico_window_mgr.c index 2d19f57..1ee465d 100644 --- a/src/ico_window_mgr.c +++ b/src/ico_window_mgr.c @@ -2979,15 +2979,14 @@ module_init(struct weston_compositor *ec, int *argc, char *argv[]) weston_compositor_add_button_binding(ec, BTN_LEFT, 0, win_mgr_click_to_activate, NULL); weston_compositor_add_touch_binding(ec, 0, win_mgr_touch_to_activate, NULL); -#if 0 /* set Notification function for GENIVI ivi-shell */ - if (ivi_layout_setNotificationCreateSurface(ico_ivi_surfaceCreateNotification, NULL) != 0) { + if (ivi_layout_addNotificationCreateSurface(ico_ivi_surfaceCreateNotification, NULL) != 0) { uifw_error("ico_window_mgr: ivi_layout_setNotificationCreateSurface Error"); } - if (ivi_layout_setNotificationRemoveSurface(ico_ivi_surfaceRemoveNotification, NULL) != 0) { + if (ivi_layout_addNotificationRemoveSurface(ico_ivi_surfaceRemoveNotification, NULL) != 0) { uifw_error("ico_window_mgr: ivi_layout_setNotificationRemoveSurface Error"); } -#endif + uifw_info("ico_window_mgr: Leave(module_init)"); return 0; |