force adjustment of client geometry when changing csd frame size

fix T2750
This commit is contained in:
Mike Blumenkrantz 2015-09-28 14:02:02 -04:00
parent 51789af53c
commit d641c9d963
1 changed files with 8 additions and 2 deletions

View File

@ -2913,11 +2913,17 @@ e_comp_object_frame_geometry_set(Evas_Object *obj, int l, int r, int t, int b)
cw->client_inset.r = r;
cw->client_inset.t = t;
cw->client_inset.b = b;
cw->client_inset.calc = 1;
cw->client_inset.calc = l || r || t || b;
eina_stringshare_replace(&cw->frame_theme, "borderless");
if (!cw->ec->new_client) return;
cw->ec->w += l + r;
cw->ec->h += t + b;
if (!cw->ec->new_client)
{
cw->ec->x -= l;
cw->ec->y -= t;
cw->ec->changes.pos = cw->ec->changes.size = 1;
EC_CHANGED(cw->ec);
}
}
E_API Eina_Bool