ensure resize is still deferred for changes.shape clients during failed resize
ref c212bb4e21
This commit is contained in:
parent
84cf7743b6
commit
d584c9a095
|
@ -1170,11 +1170,13 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
|
||||||
/* shapeless clients smh */
|
/* shapeless clients smh */
|
||||||
if (cw->ec->shaped && (!cw->ec->shape_rects)) return;
|
if (cw->ec->shaped && (!cw->ec->shape_rects)) return;
|
||||||
/* pending shape change gtfo */
|
/* pending shape change gtfo */
|
||||||
if (cw->ec->changes.shape) return;
|
if (!cw->ec->changes.shape)
|
||||||
/* client can't be resized if its pixmap isn't usable, try again */
|
{
|
||||||
e_pixmap_dirty(cw->ec->pixmap);
|
/* client can't be resized if its pixmap isn't usable, try again */
|
||||||
e_comp_object_render_update_add(obj);
|
e_pixmap_dirty(cw->ec->pixmap);
|
||||||
e_comp_render_queue();
|
e_comp_object_render_update_add(obj);
|
||||||
|
e_comp_render_queue();
|
||||||
|
}
|
||||||
cw->ec->changes.size = 1;
|
cw->ec->changes.size = 1;
|
||||||
EC_CHANGED(cw->ec);
|
EC_CHANGED(cw->ec);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue