e_comp: fix wrong return values 81/323981/1
authorhojoon-ryou <hojoon.ryou@samsung.com>
Tue, 29 Apr 2025 04:57:18 +0000 (13:57 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 12 May 2025 04:04:50 +0000 (13:04 +0900)
Change-Id: I9f12b5c7322f396a0d9ae3fea89d6854ec253f70

src/bin/compmgr/e_comp.c

index 4173bdcaa463002db40b1444cca1c02e85758cb6..50aff7626093425fd6ecdef48c866de0ac5e8ba9 100644 (file)
@@ -1304,7 +1304,7 @@ e_comp_image_filter_set(E_Comp_Image_Filter filter)
        }
 
    e_comp->image_filter = filter;
-   return EINA_FALSE;
+   return EINA_TRUE;
 }
 
 E_API Eina_Bool
@@ -1332,7 +1332,7 @@ e_comp_image_filter_edge_detection_param_set(double thickness, unsigned int colo
    e_comp->edge_detection_thickness = thickness;
    e_comp->edge_detection_color_id = color_id;
 
-   if (e_comp->image_filter != E_COMP_IMAGE_FILTER_EDGE_DETECTION) return EINA_FALSE;
+   if (e_comp->image_filter != E_COMP_IMAGE_FILTER_EDGE_DETECTION) return EINA_TRUE;
    EINA_LIST_FOREACH(e_comp->zones, l, zone)
      E_ZONE_CLIENT_FOREACH(zone, ec)
        {