From a7c0ef9ca6979526a3f0255af1b87fd99906150f Mon Sep 17 00:00:00 2001 From: Janos Kovacs Date: Tue, 19 Aug 2014 00:27:35 +0300 Subject: hook-in to GENIVI shell notifications Change-Id: Ic6563de1656a6bfba64381dbbeb058e52e1d7424 Signed-off-by: Janos Kovacs --- src/ico_window_mgr.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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; -- cgit v1.2.3