only set shape merge/export flags for non-override clients on resize

This commit is contained in:
Mike Blumenkrantz 2014-01-22 21:36:47 -05:00
parent 199882ea25
commit 2943d88042
1 changed files with 7 additions and 4 deletions

View File

@ -772,10 +772,13 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
//INF("INTERCEPT %dx%d", w, h);
evas_object_resize(obj, w, h);
}
cw->ec->need_shape_merge |= cw->ec->shaped || cw->ec->shaped_input;
cw->ec->need_shape_export |= cw->ec->shaped;
if (cw->ec->shaped || cw->ec->shaped_input)
EC_CHANGED(cw->ec);
if (!cw->ec->override)
{
cw->ec->need_shape_merge |= cw->ec->shaped || cw->ec->shaped_input;
cw->ec->need_shape_export |= cw->ec->shaped;
if (cw->ec->shaped || cw->ec->shaped_input)
EC_CHANGED(cw->ec);
}
/* this fixes positioning jiggles when using a resize mode
* which also changes the client's position