e_client: remove the leader and group varaiables 70/293570/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 10 May 2023 05:50:33 +0000 (14:50 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 31 May 2023 08:29:25 +0000 (17:29 +0900)
They are not used anymore.

Change-Id: Id0156f74a37596ee6b6bf239d6b3af66c4316054

src/bin/e_client.c
src/bin/e_client.h

index 5754b67..acffe70 100644 (file)
@@ -1187,7 +1187,6 @@ _e_client_free(E_Client *ec)
 
    E_FREE_FUNC(ec->map_timer, ecore_timer_del);
 
-   ec->group = eina_list_free(ec->group);
    ec->transients = eina_list_free(ec->transients);
    ec->stick_desks = eina_list_free(ec->stick_desks);
    if (ec->netwm.icons)
@@ -1316,14 +1315,6 @@ _e_client_del(E_Client *ec)
    EINA_LIST_FREE(ec->transients, child)
      child->parent = NULL;
 
-   if (ec->leader)
-     {
-        ec->leader->group = eina_list_remove(ec->leader->group, ec);
-        ec->leader = NULL;
-     }
-   EINA_LIST_FREE(ec->group, child)
-     child->leader = NULL;
-
    type = e_pixmap_type_get(ec->pixmap);
    if (type < E_PIXMAP_TYPE_MAX)
      eina_hash_del_by_key(clients_hash[type], &ec->pixmap);
index 626a7cf..57b4385 100644 (file)
@@ -376,9 +376,6 @@ struct E_Client
    Ecore_Poller              *ping_poller;
    Ecore_Timer               *kill_timer;
 
-   E_Client                  *leader;
-   Eina_List                 *group;
-
    E_Client                  *parent;
    Eina_List                 *transients;