forked from enlightenment/enlightenment
fix race condition when repeatedly resizing clients too fast
T993
This commit is contained in:
parent
ade921cde2
commit
1a3e86c3c9
|
@ -750,6 +750,7 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
|
||||||
{
|
{
|
||||||
if ((cw->ec->w != w) || (cw->ec->h != h))
|
if ((cw->ec->w != w) || (cw->ec->h != h))
|
||||||
{
|
{
|
||||||
|
evas_object_smart_callback_call(obj, "client_resize", NULL);
|
||||||
cw->ec->w = w, cw->ec->h = h;
|
cw->ec->w = w, cw->ec->h = h;
|
||||||
cw->ec->client.w = w - cw->client_inset.l - cw->client_inset.r;
|
cw->ec->client.w = w - cw->client_inset.l - cw->client_inset.r;
|
||||||
cw->ec->client.h = h - cw->client_inset.t - cw->client_inset.b;
|
cw->ec->client.h = h - cw->client_inset.t - cw->client_inset.b;
|
||||||
|
|
Loading…
Reference in New Issue