e_zone: remove E_EVENT_POINTER_WARP 21/292521/3
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 9 May 2023 05:45:34 +0000 (14:45 +0900)
committerJunSeok Kim <juns.kim@samsung.com>
Wed, 10 May 2023 02:59:04 +0000 (02:59 +0000)
It is not used anymore

Change-Id: I6ce3ca7f47e0d60fcf2d605a8f2283f19ca810ad

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

index 8eb87a1..0abf9f3 100644 (file)
@@ -125,15 +125,6 @@ static Eina_Inlist *_e_client_intercept_hooks[] =
 ///////////////////////////////////////////
 
 static Eina_Bool
-_e_client_cb_pointer_warp(void *data EINA_UNUSED, int type EINA_UNUSED, E_Event_Pointer_Warp *ev)
-{
-   if (ecmove)
-     evas_object_move(ecmove->frame, ecmove->x + (ev->curr.x - ev->prev.x), ecmove->y + (ev->curr.y - ev->prev.y));
-   return ECORE_CALLBACK_RENEW;
-}
-
-
-static Eina_Bool
 _e_client_cb_desk_window_profile_change(void *data EINA_UNUSED, int type EINA_UNUSED, E_Event_Desk_Window_Profile_Change *ev EINA_UNUSED)
 {
    const Eina_List *l;
@@ -4591,7 +4582,6 @@ e_client_init(void)
    for (pix_id = 0; pix_id < E_PIXMAP_TYPE_MAX; pix_id++)
      clients_hash[pix_id] = eina_hash_pointer_new(NULL);
 
-   E_LIST_HANDLER_APPEND(handlers, E_EVENT_POINTER_WARP, _e_client_cb_pointer_warp, NULL);
    E_LIST_HANDLER_APPEND(handlers, E_EVENT_DESK_WINDOW_PROFILE_CHANGE, _e_client_cb_desk_window_profile_change, NULL);
 
    E_COMP_WL_HOOK_APPEND(hooks, E_COMP_WL_HOOK_SHELL_SURFACE_READY, _e_client_cb_hook_shell_surface_ready, NULL);
index 3b2ab5b..ff9ef8f 100644 (file)
@@ -24,7 +24,6 @@ static void        _e_zone_hooks_clean(void);
 static Eina_Bool   _e_zone_hook_call(E_Zone_Hook_Point hookpoint, E_Zone *zone);
 
 E_API int E_EVENT_ZONE_DESK_COUNT_SET = 0;
-E_API int E_EVENT_POINTER_WARP = 0;
 E_API int E_EVENT_ZONE_MOVE_RESIZE = 0;
 E_API int E_EVENT_ZONE_ADD = 0;
 E_API int E_EVENT_ZONE_DEL = 0;
@@ -66,7 +65,6 @@ EINTERN int
 e_zone_init(void)
 {
    E_EVENT_ZONE_DESK_COUNT_SET = ecore_event_type_new();
-   E_EVENT_POINTER_WARP = ecore_event_type_new();
    E_EVENT_ZONE_MOVE_RESIZE = ecore_event_type_new();
    E_EVENT_ZONE_ADD = ecore_event_type_new();
    E_EVENT_ZONE_DEL = ecore_event_type_new();
index 7dfe7a4..0b1b714 100644 (file)
@@ -278,7 +278,6 @@ extern E_API int E_EVENT_ZONE_DESK_COUNT_SET;
 extern E_API int E_EVENT_ZONE_MOVE_RESIZE;
 extern E_API int E_EVENT_ZONE_ADD;
 extern E_API int E_EVENT_ZONE_DEL;
-extern E_API int E_EVENT_POINTER_WARP;
 extern E_API int E_EVENT_ZONE_EDGE_IN;
 extern E_API int E_EVENT_ZONE_EDGE_OUT;
 extern E_API int E_EVENT_ZONE_EDGE_MOVE;