do not add render update on resize fail due to unusable pixmap in wl

this will not have any effect
This commit is contained in:
Mike Blumenkrantz 2015-08-12 13:25:30 -04:00
parent 20c0ddffd5
commit 9613b1faff
1 changed files with 1 additions and 0 deletions

View File

@ -992,6 +992,7 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
}
if ((!cw->ec->input_only) && (!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph)))
{
if (e_comp->comp_type != E_PIXMAP_TYPE_X) 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);