e_client: remove e_client layout callback
authorJunseok Kim <juns.kim@samsung.com>
Thu, 15 Jun 2023 09:08:06 +0000 (18:08 +0900)
committerJunseok Kim <juns.kim@samsung.com>
Thu, 29 Jun 2023 02:29:04 +0000 (11:29 +0900)
Change-Id: Iff485b96b9eedd5554392ea0e9a95740778b0717

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

index 7736e21..41e93a1 100644 (file)
@@ -63,7 +63,6 @@ static Ecore_Event_Handler *action_handler_mouse = NULL;
 static Ecore_Timer *action_timer = NULL;
 static Eina_Rectangle action_orig = {0, 0, 0, 0};
 
-static E_Client_Layout_Cb _e_client_layout_cb = NULL;
 static E_Client_Resize_Object_Create_Cb _e_client_resize_object_create_cb = NULL;
 
 static Eina_Bool _e_calc_visibility = EINA_FALSE;
@@ -4285,9 +4284,6 @@ e_client_idler_before(void)
           }
      }
 
-   if (_e_client_layout_cb)
-     _e_client_layout_cb();
-
    // pass 3 - hide windows needing hide and eval (main eval)
    E_CLIENT_FOREACH(ec)
      {
@@ -7267,16 +7263,6 @@ e_client_is_stacking(const E_Client *ec)
 
 ////////////////////////////////////////////
 
-EINTERN void
-e_client_layout_cb_set(E_Client_Layout_Cb cb)
-{
-   if (_e_client_layout_cb && cb)
-     CRI("ATTEMPTING TO OVERWRITE EXISTING CLIENT LAYOUT HOOK!!!");
-   _e_client_layout_cb = cb;
-}
-
-////////////////////////////////////////////
-
 E_API void
 e_client_transform_update(E_Client *ec)
 {
index 26a3f4b..7ef7449 100644 (file)
@@ -284,7 +284,6 @@ typedef enum _E_Client_Intercept_Hook_Point
 typedef void (*E_Client_Move_Intercept_Cb)(E_Client *, int x, int y);
 typedef void (*E_Client_Hook_Cb)(void *data, E_Client *ec);
 typedef Eina_Bool (*E_Client_Intercept_Hook_Cb)(void *data, E_Client *ec);
-typedef void (*E_Client_Layout_Cb)(void);
 typedef Eina_Bool (*E_Client_Surface_Tree_Foreach)(void *data, E_Client *ec);
 typedef Evas_Object* (*E_Client_Resize_Object_Create_Cb)(E_Client *ec);
 #else
@@ -1196,7 +1195,6 @@ E_API void e_client_redirected_set(E_Client *ec, Eina_Bool set);
 EINTERN Eina_Bool e_client_is_stacking(const E_Client *ec);
 EINTERN Eina_Bool e_client_desk_window_profile_available_check(E_Client *ec, const char *profile);
 EINTERN void      e_client_desk_window_profile_wait_desk_set(E_Client *ec, E_Desk *desk);
-EINTERN void      e_client_layout_cb_set(E_Client_Layout_Cb cb);
 EINTERN E_Client *e_client_transient_child_top_get(E_Client *ec, Eina_Bool consider_focus);
 E_API void      e_client_visibility_calculate(void);
 E_API void      e_client_visibility_skip_set(E_Client *ec, Eina_Bool skip);