Add logic for missing widget buffer 47/96147/1 accepted/tizen/3.0/common/20161114.082709 accepted/tizen/3.0/ivi/20161110.020334 accepted/tizen/3.0/mobile/20161110.020241 accepted/tizen/3.0/tv/20161110.020256 accepted/tizen/3.0/wearable/20161110.020316 submit/tizen_3.0/20161108.101813 submit/tizen_3.0/20161110.022944 submit/tizen_3.0_common/20161110.084657
authorHyunho Kang <hhstark.kang@samsung.com>
Tue, 8 Nov 2016 04:47:16 +0000 (13:47 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Tue, 8 Nov 2016 04:48:35 +0000 (13:48 +0900)
Change-Id: I5af80856f0cd86acb7b08239c4864298a69f85b2
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
widget_toolkit/src/compositor.c

index 16f0b9f..86182e7 100644 (file)
@@ -285,9 +285,18 @@ static void __rs_cb_buffer_update(struct tizen_remote_surface *trs, struct wl_bu
 
 static void __rs_cb_missing(struct tizen_remote_surface *trs, void *data)
 {
-       /* TODO */
+       struct compositor_handler *handler;
+
        _D("missing");
+       handler = (struct compositor_handler *)data;
+       if (!handler) {
+               _E("Null handler");
+               return;
+       }
 
+       handler->cb(handler->app_id, "removed", handler->evas_obj, handler->data);
+       evas_object_del(handler->evas_obj);
+       handler->evas_obj = NULL;
 }
 
 static aul_rsm_handler __rs_listener = {