e_focus: remove the unused focus_event functions 64/296864/1
authorSooChan Lim <sc1.lim@samsung.com>
Sun, 6 Aug 2023 23:48:59 +0000 (08:48 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 7 Aug 2023 01:20:11 +0000 (10:20 +0900)
These do nothing.

Change-Id: Iac2005de8dd70f797461708fc6aa2de0638c3dc6

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

index 40a228f..b5bef6a 100644 (file)
@@ -4442,10 +4442,7 @@ e_client_mouse_up(E_Client *ec, int button, Evas_Point *output, E_Binding_Event_
         e_object_unref(E_OBJECT(ec->cur_mouse_action));
         ec->cur_mouse_action = NULL;
      }
-   else
-     {
-        e_focus_event_mouse_up(ec);
-     }
+
    if ((button >= 1) && (button <= 3))
      {
         ec->mouse.last_up[button - 1].mx = output->x;
@@ -5189,8 +5186,6 @@ e_client_focused_set(E_Client *ec)
    while ((ec_unfocus) && (ec_unfocus->zone))
      {
         ec_unfocus->want_focus = ec_unfocus->focused = 0;
-        if (!e_object_is_del(E_OBJECT(ec_unfocus)))
-          e_focus_event_focus_out(ec_unfocus);
         if (ec_unfocus->mouse.in && ec && (!e_client_util_is_popup(ec)) &&
             (e_config->focus_policy != E_FOCUS_CLICK))
           e_client_mouse_out(ec_unfocus, ec_unfocus->x - 1, ec_unfocus->y - 1);
@@ -5238,7 +5233,6 @@ e_client_focused_set(E_Client *ec)
      }
 
    _e_client_hook_call(E_CLIENT_HOOK_FOCUS_SET, ec);
-   e_focus_event_focus_in(ec);
 
    if (!focus_track_frozen)
      e_client_focus_latest_set(ec);
index 2ef2032..62845c6 100644 (file)
@@ -65,20 +65,5 @@ e_focus_event_mouse_down(E_Client *ec)
      }
 }
 
-EINTERN void
-e_focus_event_mouse_up(E_Client *ec EINA_UNUSED)
-{
-}
-
-EINTERN void
-e_focus_event_focus_in(E_Client *ec EINA_UNUSED)
-{
-}
-
-EINTERN void
-e_focus_event_focus_out(E_Client *ec EINA_UNUSED)
-{
-}
-
 /* local subsystem functions */
 
index a75272b..fd468ce 100644 (file)
@@ -6,9 +6,6 @@
 EINTERN void e_focus_event_mouse_in(E_Client* ec);
 EINTERN void e_focus_event_mouse_out(E_Client* ec);
 EINTERN void e_focus_event_mouse_down(E_Client* ec);
-EINTERN void e_focus_event_mouse_up(E_Client* ec);
-EINTERN void e_focus_event_focus_in(E_Client *ec);
-EINTERN void e_focus_event_focus_out(E_Client *ec);
 
 #endif
 #endif