forked from enlightenment/enlightenment
only throw frame object size CRI for X comp objects
This commit is contained in:
parent
7c41fb431d
commit
d4c0a663cf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue