e_comp_wl: Remove unused arguments 64/319164/1
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 24 Jan 2025 01:48:47 +0000 (10:48 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Wed, 5 Feb 2025 01:00:14 +0000 (10:00 +0900)
The w and h are not used anymore.

Change-Id: I13262f18ab0f16697d35762ced6821d54ac32022

src/bin/server/e_comp_wl.c
src/bin/server/e_comp_wl_intern.h
src/bin/server/e_compositor.c

index 06ac22540803cf364ddae686ed587b8a9ebf63cd..fccc750df05e8ae202d2c9dee34ce4e05e2e8f8e 100644 (file)
@@ -2570,7 +2570,7 @@ _e_comp_wl_surface_state_cb_buffer_destroy(struct wl_listener *listener, void *d
 }
 
 static void
-_e_comp_wl_surface_state_init(E_Comp_Wl_Surface_State *state, int w, int h)
+_e_comp_wl_surface_state_init(E_Comp_Wl_Surface_State *state)
 {
    state->new_attach = EINA_FALSE;
    state->buffer = NULL;
@@ -5661,9 +5661,9 @@ e_comp_wl_pid_output_configured_resolution_send(pid_t pid, int w, int h)
 }
 
 EINTERN void
-e_comp_wl_surface_state_init(E_Comp_Wl_Surface_State *state, int w, int h)
+e_comp_wl_surface_state_init(E_Comp_Wl_Surface_State *state)
 {
-   _e_comp_wl_surface_state_init(state, w, h);
+   _e_comp_wl_surface_state_init(state);
 }
 
 EINTERN void
index b6e38b1259fa0aa7c544e2bb3ac2d744d8d87bbc..b657f126688216a2f352ecc1031cbefba242603f 100644 (file)
@@ -66,7 +66,7 @@ EINTERN void    e_comp_wl_feed_focus_in(E_Client *ec);
 EINTERN Eina_Bool e_comp_wl_commit_sync_client_geometry_add(E_Client *ec, uint32_t serial, int32_t x, int32_t y, int32_t w, int32_t h);
 EINTERN Eina_Bool e_comp_wl_commit_sync_configure(E_Client *ec);
 
-EINTERN void        e_comp_wl_surface_state_init(E_Comp_Wl_Surface_State *state, int w, int h);
+EINTERN void        e_comp_wl_surface_state_init(E_Comp_Wl_Surface_State *state);
 EINTERN void        e_comp_wl_surface_state_finish(E_Comp_Wl_Surface_State *state);
 EINTERN Eina_Bool   e_comp_wl_surface_viewport_get(E_Client *ec, Eina_Rectangle *buffer_viewport, Eina_Rectangle *output_viewport, unsigned int *transform);
 EINTERN void        e_comp_wl_client_surface_set(E_Client *ec, struct wl_resource *surface);
index b38f697c08dd18c0180b33594c1dc9d7a4a95c33..6d7f0a988127be104c01c11d7f27f5c3af92562a 100644 (file)
@@ -991,7 +991,7 @@ _e_surface_create(E_Client *ec)
 
    wl_list_init(&surface->frames);
 
-   e_comp_wl_surface_state_init(&surface->base.pending, ec->w, ec->h);
+   e_comp_wl_surface_state_init(&surface->base.pending);
 
    /* set initial client data properties */
    surface->base.mapped = EINA_FALSE;