e_comp_object: remove the _e_comp_object_effect_visibility_start 11/318411/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 16 Jan 2025 06:19:23 +0000 (15:19 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 16 Jan 2025 10:01:13 +0000 (19:01 +0900)
Is is uselsess.

Change-Id: Id05d11110225c5f1b010364bf199ae5e3b3dd127

src/bin/compmgr/e_comp_object.c

index 05158c111dd014341153b33bbfdde3f3dd57edba..7294b288fafa3e98bd7060c81695ae703b01cc85 100644 (file)
@@ -1022,12 +1022,6 @@ _e_comp_object_done_defer(void *data, Evas_Object *obj EINA_UNUSED, const char *
      }
 }
 
-/* run a visibility compositor effect if available, return false if object is dead */
-static Eina_Bool
-_e_comp_object_effect_visibility_start(E_Comp_Object *cw, Eina_Bool state)
-{
-   return EINA_TRUE;
-}
 /////////////////////////////////////////////
 
 /* create necessary objects for clients that e manages */
@@ -1815,7 +1809,6 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj)
                   e_comp_object_signal_emit(obj, "e,state,hidden", "e");
                   if (!cw->showing)
                     _e_comp_object_animating_begin(cw);
-                  if (!_e_comp_object_effect_visibility_start(cw, 0)) return;
                }
 
              wl_signal_emit(&cw->events.hiding, NULL);
@@ -2571,12 +2564,8 @@ _e_comp_smart_show(Evas_Object *obj)
 
         e_comp_object_signal_emit(cw->smart_obj, "e,state,visible", "e");
         _e_comp_object_animating_begin(cw);
-        if (!_e_comp_object_effect_visibility_start(cw, 1))
-          {
-             TRACE_DS_END();
-             return;
-          }
      }
+
    /* ensure some random effect doesn't lock the client offscreen */
    if (!cw->animating)
      {