force client pixmap refresh immediately during resize if nocomp is active

in the case where this path was reached during x11 nocomp, the client's pixmap
refresh would be deferred until the end of nocomp, even when the refresh would
otherwise end the nocomp. instead, force the refresh immediately.

fix T4887
This commit is contained in:
Mike Blumenkrantz 2017-05-26 16:34:13 -04:00
parent d4849f792f
commit ecc5d49b9a
1 changed files with 7 additions and 2 deletions

View File

@ -1232,8 +1232,13 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
{
/* client can't be resized if its pixmap isn't usable, try again */
e_pixmap_dirty(cw->ec->pixmap);
e_comp_object_render_update_add(obj);
e_comp_render_queue();
if (e_comp->nocomp)
e_pixmap_refresh(cw->ec->pixmap);
else
{
e_comp_object_render_update_add(obj);
e_comp_render_queue();
}
}
cw->ec->changes.size = 1;
EC_CHANGED(cw->ec);