force adjustment of client geometry when changing csd frame size
fix T2750
This commit is contained in:
parent
51789af53c
commit
d641c9d963
|
@ -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.r = r;
|
||||||
cw->client_inset.t = t;
|
cw->client_inset.t = t;
|
||||||
cw->client_inset.b = b;
|
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");
|
eina_stringshare_replace(&cw->frame_theme, "borderless");
|
||||||
if (!cw->ec->new_client) return;
|
|
||||||
cw->ec->w += l + r;
|
cw->ec->w += l + r;
|
||||||
cw->ec->h += t + b;
|
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
|
E_API Eina_Bool
|
||||||
|
|
Loading…
Reference in New Issue