don't defer resizes+queue render updates for shapeless or pending shaped clients
this basically guarantees a misrender
This commit is contained in:
parent
a97a50b306
commit
c212bb4e21
|
@ -1167,6 +1167,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