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:
parent
9701588cc8
commit
c6a0abc763
|
@ -1234,8 +1234,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);
|
||||
|
|
Loading…
Reference in New Issue