e_comp_object: remove the e,state,sticky edje signal 52/309552/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 11 Apr 2024 09:00:01 +0000 (18:00 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 12 Apr 2024 06:08:29 +0000 (15:08 +0900)
It is not used.

Change-Id: Id5d90d68521f7572ab178f69f27bab9118937099

src/bin/e_comp_object.c
src/bin/e_desk_area.c
src/bin/e_zone.c

index a2ef1ff..b7a1c46 100644 (file)
@@ -1064,8 +1064,6 @@ _e_comp_object_shadow_setup(E_Comp_Object *cw)
      e_comp_object_signal_emit(cw->smart_obj, "e,state,focused", "e");
    else
      e_comp_object_signal_emit(cw->smart_obj, "e,state,unfocused", "e");
-   if (cw->ec->sticky)
-     e_comp_object_signal_emit(cw->smart_obj, "e,state,sticky", "e");
    /* visibility must always be enabled for re_manage clients to prevent
     * pop-in animations every time the user sees a persistent client again;
     * applying visibility for iconic clients prevents the client from getting
@@ -2515,8 +2513,6 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
          cw->visible, cw->animating, cw->defer_hide, cw->content_type, cw->updates, cw->w, cw->h,
          ec->iconic, ec->exp_iconify.by_client, ec->exp_iconify.type, ec->input_only, ec->ignored, ec->new_client);
 
-   if (ec->sticky)
-     e_comp_object_signal_emit(cw->smart_obj, "e,state,sticky", "e");
    if (cw->visible)
      {
         if (ec->iconic && cw->animating)
@@ -3018,12 +3014,6 @@ _e_comp_smart_cb_unfullscreen(void *data, Evas_Object *obj, void *event_info EIN
 }
 
 static void
-_e_comp_smart_cb_sticky(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
-{
-   e_comp_object_signal_emit(obj, "e,state,sticky", "e");
-}
-
-static void
 _e_comp_smart_cb_unsticky(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
 {
    e_comp_object_signal_emit(obj, "e,state,unsticky", "e");
@@ -3250,7 +3240,6 @@ _e_comp_smart_add(Evas_Object *obj)
    evas_object_smart_callback_add(obj, "unmaximize", _e_comp_smart_cb_unmaximize, cw);
    evas_object_smart_callback_add(obj, "unfullscreen", _e_comp_smart_cb_unfullscreen, cw);
 
-   evas_object_smart_callback_add(obj, "stick", _e_comp_smart_cb_sticky, cw);
    evas_object_smart_callback_add(obj, "unstick", _e_comp_smart_cb_unsticky, cw);
 
    evas_object_smart_callback_add(obj, "frame_recalc", _e_comp_smart_cb_frame_recalc, cw);
index c4917d2..3a25977 100644 (file)
@@ -1445,8 +1445,6 @@ _desk_area_cb_client_stick(struct wl_listener *listener, void *data)
    ec->sticky = 1;
    ec->hidden = 0;
 
-   evas_object_smart_callback_call(ec->frame, "stick", NULL);
-
    if (e_config->transient.desktop)
      {
         list = eina_list_clone(ec->transients);
index 0e512dd..1b2d840 100644 (file)
@@ -812,8 +812,6 @@ _zone_cb_client_stick(struct wl_listener *listener, void *data)
 
    e_desk_client_add(desk, ec);
 
-   evas_object_smart_callback_call(ec->frame, "stick", NULL);
-
    if (e_config->transient.desktop)
      {
         E_Client *child;