reject identical calls to e_comp_object_frame_geometry_set()

This commit is contained in:
Mike Blumenkrantz 2015-09-28 14:01:02 -04:00
parent 12c4257159
commit 46b1335ade
1 changed files with 2 additions and 0 deletions

View File

@ -2790,6 +2790,8 @@ E_API void
e_comp_object_frame_geometry_set(Evas_Object *obj, int l, int r, int t, int b)
{
API_ENTRY;
if ((cw->client_inset.l == l) && (cw->client_inset.r == r) &&
(cw->client_inset.t == t) && (cw->client_inset.b == b)) return;
cw->client_inset.l = l;
cw->client_inset.r = r;
cw->client_inset.t = t;