E_API void
e_client_geometry_get(E_Client *ec, int *x, int *y, int *w, int *h)
{
- int vx, vy, vw, vh;
E_OBJECT_CHECK(ec);
E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
}
else if (view_client)
{
- e_view_client_geometry_get(view_client, &vx, &vy, &vw, &vh);
- if (vw != 0 || vh != 0)
- {
- if (x) *x = vx;
- if (y) *y = vy;
- if (w) *w = vw;
- if (h) *h = vh;
- return;
- }
+ e_view_client_geometry_get(view_client, x, y, w, h);
+ if (*w != 0 || *h != 0)
+ return;
/* In this case (w == 0 && h == 0), there is no image buffer in e_comp_object, thus it
* should return geometry value of ec itself. It usually happens if