e_view_client_wh_unadjust and e_comp_object_wh_unadjust are useless.
Change-Id: I78b3f63c3372e0de2ea46fd48eff744c6b91a671
return o;
}
-/* utility functions for getting client inset */
-E_API void
-e_comp_object_frame_wh_unadjust(Evas_Object *obj, int w, int h, int *aw, int *ah)
-{
- API_ENTRY;
-
- // TODO: this function will be removed
- if (aw) *aw = w;
- if (ah) *ah = h;
-}
-
E_API E_Client *
e_comp_object_client_get(Evas_Object *obj)
{
E_OBJECT_CHECK(ec);
E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
- if (ec->frame)
- e_comp_object_frame_wh_unadjust(ec->frame, *w, *h, w, h);
if (*h < 1) *h = 1;
if (*w < 1) *w = 1;
return e_comp_object_mask_has(client->view.eo);
}
-E_API void
-e_view_client_frame_wh_unadjust(E_View_Client *client, int width, int height, int *aw, int *ah)
-{
- if (client == NULL) return;
-
- e_comp_object_frame_wh_unadjust(client->view.eo, width, height, aw, ah);
-}
-
EINTERN bool
e_view_client_hwc_update_exists(E_View_Client *client)
{
out->w = ec->comp_data->width_from_viewport;
out->w = (out->w + 1) & ~1;
out->h = ec->comp_data->height_from_viewport;
-
- e_view_client_frame_wh_unadjust(e_client_view_get(ec), out->w, out->h, &out->w, &out->h);
}
/* convert from logical screen to physical output */
out->w = ec->comp_data->width_from_viewport;
out->w = (out->w + 1) & ~1;
out->h = ec->comp_data->height_from_viewport;
-
- e_view_client_frame_wh_unadjust(e_client_view_get(ec), out->w, out->h, &out->w, &out->h);
}
EINTERN Eina_Bool
E_Policy_Desk_Area_Private_Client *eda_client;
E_Desk_Area *eda;
E_Client *ec;
- int w, h, pw, ph;
+ int w, h;
eda_client = wl_container_of(listener, eda_client, redirect);
eda = eda_client->eda;
*/
w = ec->w, h = ec->h;
- e_view_client_frame_wh_unadjust(e_client_view_get(ec), w, h, &pw, &ph);
e_view_client_frame_recalc(e_client_view_get(ec));
else if (ec->new_client)
{
if ((ec->w < 1) || (ec->h < 1)) return;
- e_view_client_size_set(e_client_view_get(ec), pw, ph);
+ e_view_client_size_set(e_client_view_get(ec), w, h);
}
else if ((w != ec->w) || (h != ec->h))
e_view_client_size_set(e_client_view_get(ec), w, h);
w = ec->mouse.last_down[ec->moveinfo.down.button - 1].w;
h = ec->mouse.last_down[ec->moveinfo.down.button - 1].h;
- if (e_view_client_frame_exists(e_client_view_get(ec)))
- e_view_client_frame_wh_unadjust(e_client_view_get(ec), w, h, &w, &h);
switch (ec->resize_mode)
{
E_API Evas_Object *e_comp_object_util_mirror_add(Evas_Object *obj);
-E_API void e_comp_object_frame_wh_unadjust(Evas_Object *obj, int w, int h, int *aw, int *ah);
-
E_API void e_comp_object_signal_emit(Evas_Object *obj, const char *sig, const char *src);
E_API void e_comp_object_signal_callback_add(Evas_Object *obj, const char *sig, const char *src, Edje_Signal_Cb cb, const void *data);
E_API void e_comp_object_signal_callback_del(Evas_Object *obj, const char *sig, const char *src, Edje_Signal_Cb cb);
void e_view_client_mask_set(E_View_Client *client, bool set);
bool e_view_client_mask_has(E_View_Client *client);
-void e_view_client_frame_wh_unadjust(E_View_Client *client, int width, int height, int *aw, int *ah);
-
void e_view_client_signal_emit(E_View_Client *client, const char *sig, const char *src);
void e_view_client_input_area_set(E_View_Client *client, int x, int y, int w, int h);
void e_view_client_input_rect_get(E_View_Client *client, Eina_List **list);