The w and h are not used anymore.
Change-Id: I13262f18ab0f16697d35762ced6821d54ac32022
}
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;
}
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
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);
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;