only throw frame object size CRI for X comp objects

This commit is contained in:
Mike Blumenkrantz 2015-03-17 16:15:00 -04:00
parent 7c41fb431d
commit d4c0a663cf
1 changed files with 2 additions and 1 deletions

View File

@ -1333,7 +1333,8 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
/* re-set geometry */
evas_object_move(cw->smart_obj, cw->ec->x, cw->ec->y);
/* ensure that some kind of frame calc has occurred if there's a frame */
if (cw->frame_object && (cw->ec->h == cw->ec->client.h) && (cw->ec->w == cw->ec->client.w))
if (e_pixmap_is_x(cw->ec->pixmap) && cw->frame_object &&
(cw->ec->h == cw->ec->client.h) && (cw->ec->w == cw->ec->client.w))
CRI("ACK!");
/* force resize in case it hasn't happened yet, or just to update size */
evas_object_resize(cw->smart_obj, cw->ec->w, cw->ec->h);