diff options
author | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp> | 2014-07-29 16:33:43 +0900 |
---|---|---|
committer | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp> | 2014-08-21 10:08:14 +0900 |
commit | 8d293475af7d7bc9486c15c7360f729d7e766d15 (patch) | |
tree | 55137bf575c5c7e55ec7491894610a4bf82d39aa | |
parent | 45cd9c311054b1674e4e93007fae6218997d7fce (diff) | |
download | wayland-ivi-extension-8d293475af7d7bc9486c15c7360f729d7e766d15.tar.gz |
ilmControl: Return REMOVED immediatly when notification is set even if wl_surface is not set to ivi_surface.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
-rw-r--r-- | ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c index 45a0277..6c68d74 100644 --- a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c +++ b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c @@ -2423,6 +2423,9 @@ ilm_surfaceAddNotification(t_ilm_surface surface, ctx_surf = (struct surface_context*)get_surface_context( &ctx->wl, (uint32_t)surface); if (ctx_surf == NULL) { + if (callback != NULL) { + callback((uint32_t)surface, NULL, ILM_NOTIFICATION_CONTENT_REMOVED); + } controller_listener_surface(ctx, ctx->wl.controller, (uint32_t)surface); ctx_surf = (struct surface_context*)get_surface_context( &ctx->wl, (uint32_t)surface); |