e_comp_wl: remove unused struct 'E_Comp_Wl_Seat' 45/317545/1
authorduna.oh <duna.oh@samsung.com>
Wed, 11 Sep 2024 09:34:12 +0000 (18:34 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 11 Sep 2024 10:42:53 +0000 (19:42 +0900)
Change-Id: Icad4fee7fa8bcc54025add3e60e4c688591a43ab

src/bin/server/e_devicemgr_wl.c
src/include/e_comp_wl.h

index 16eac6b81abe24074ea817bfe82345142945a1e1..3c99fbdbfbcf239d1f8969e2a6c4a73ca2782dd6 100644 (file)
@@ -122,7 +122,6 @@ e_devicemgr_wl_device_add(E_Devicemgr_Input_Device *dev)
    E_Tizen_Devicemgr_User_Data *device_user_data;
    struct wl_array axes;
    E_Tizen_Devicemgr_Mgr_Data *mgr_data;
-   E_Comp_Wl_Seat *seat_data;
    E_Comp_Wl_Data *comp_wl;
 
    /* TODO: find the seat corresponding to event */
@@ -132,9 +131,6 @@ e_devicemgr_wl_device_add(E_Devicemgr_Input_Device *dev)
 
    EINA_LIST_FOREACH(comp_wl->seat.resources, l, seat_res)
      {
-        seat_data = wl_resource_get_user_data(seat_res);
-        if (!seat_data) continue;
-
         wc = wl_resource_get_client(seat_res);
 
         EINA_LIST_FOREACH(g_tizen_devicemgr->mgr_data_list, ll, mgr_data)
index 1e5c23667e731f2fd2127c0792d60f7ee0cbfbf2..941cb583ceb59f28008fb63d88f80d017504699c 100644 (file)
@@ -59,7 +59,6 @@ typedef struct _E_Comp_Wl_Data E_Comp_Wl_Data;
 typedef struct _E_Comp_Wl_Output E_Comp_Wl_Output;
 typedef struct _E_Comp_Wl_Intercept_Hook E_Comp_Wl_Intercept_Hook;
 typedef struct _E_Comp_Wl_Evas_Gl E_Comp_Wl_Evas_Gl;
-typedef struct _E_Comp_Wl_Seat E_Comp_Wl_Seat;
 typedef struct _E_Comp_Wl_Pointer_Constraint E_Comp_Wl_Pointer_Constraint;
 
 typedef enum _E_Comp_Wl_Buffer_Type
@@ -599,11 +598,6 @@ struct _E_Comp_Wl_Intercept_Hook
    unsigned char delete_me : 1;
 };
 
-struct _E_Comp_Wl_Seat
-{
-   Eina_Bool is_first_resource : 1;
-};
-
 E_API void                      e_comp_wl_buffer_reference(E_Comp_Wl_Buffer_Ref *ref, E_Comp_Wl_Buffer *buffer);
 E_API void                      e_comp_wl_touch_cancel(void);
 E_API E_Client                 *e_comp_wl_topmost_parent_get(E_Client *ec);