e_comp_object: fix build error 00/312800/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 14 Jun 2024 08:30:17 +0000 (17:30 +0900)
committerchangyeon lee <cyeon.lee@samsung.com>
Fri, 14 Jun 2024 08:32:21 +0000 (08:32 +0000)
Fix build erorr caused by incorrect cherry pick commit
1730e835b - e_comp_object: set the pass events on the image object
of the comp_object

Change-Id: Ib909c2ba0dd6dffaff98c5195ad812bb914ff4d2

src/bin/e_comp_object.c

index 5524db56f55818408cec1c64f23f011e189a33b5..054f4420d2fc1ce5a38aed2c1f1a3777a2600a56 100644 (file)
@@ -2703,6 +2703,7 @@ _e_comp_intercept_show(void *data, Evas_Object *obj EINA_UNUSED)
              evas_object_image_smooth_scale_set(cw->obj, e_comp_config_get()->smooth_windows);
              evas_object_name_set(cw->obj, "cw->obj");
              evas_object_image_colorspace_set(cw->obj, EVAS_COLORSPACE_ARGB8888);
+             evas_object_intercept_color_set_callback_add(cw->obj, _e_comp_intercept_obj_color_set, cw);
              evas_object_pass_events_set(cw->obj, EINA_TRUE);
           }
         _e_comp_object_alpha_set(cw);
@@ -6044,6 +6045,7 @@ e_comp_object_content_unset(Evas_Object *obj)
    evas_object_image_smooth_scale_set(cw->obj, e_comp_config_get()->smooth_windows);
    evas_object_name_set(cw->obj, "cw->obj");
    evas_object_image_colorspace_set(cw->obj, EVAS_COLORSPACE_ARGB8888);
+   evas_object_intercept_color_set_callback_add(obj, _e_comp_intercept_obj_color_set, cw);
    evas_object_pass_events_set(cw->obj, EINA_TRUE);
    _e_comp_object_alpha_set(cw);