only re-set comp object position during show if client has been placed

avoid accidentally placing an unplaced client
This commit is contained in:
Mike Blumenkrantz 2017-03-17 13:17:02 -04:00
parent fa1a17cefc
commit fec6121b02
1 changed files with 2 additions and 1 deletions

View File

@ -1693,7 +1693,8 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
return;
}
/* re-set geometry */
evas_object_move(cw->smart_obj, cw->ec->x, cw->ec->y);
if (cw->ec->placed)
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 (e_pixmap_is_x(cw->ec->pixmap) && cw->frame_object &&
(cw->ec->h == cw->ec->client.h) && (cw->ec->w == cw->ec->client.w))