forked from enlightenment/enlightenment
don't defer resizes+queue render updates for shapeless or pending shaped clients
this basically guarantees a misrender
This commit is contained in:
parent
0803d07f7b
commit
615bc7f7e5
|
@ -1132,6 +1132,10 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
|
|||
{
|
||||
if (e_comp->comp_type != E_PIXMAP_TYPE_X) return;
|
||||
if (e_object_is_del(E_OBJECT(cw->ec))) return;
|
||||
/* shapeless clients smh */
|
||||
if (cw->ec->shaped && (!cw->ec->shape_rects)) return;
|
||||
/* pending shape change gtfo */
|
||||
if (cw->ec->changes.shape) return;
|
||||
/* 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);
|
||||
|
|
Loading…
Reference in New Issue