only re-set comp object position during show if client has been placed
avoid accidentally placing an unplaced client
This commit is contained in:
parent
fa1a17cefc
commit
fec6121b02
|
@ -1693,7 +1693,8 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* re-set geometry */
|
/* 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 */
|
/* 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 &&
|
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))
|
(cw->ec->h == cw->ec->client.h) && (cw->ec->w == cw->ec->client.w))
|
||||||
|
|
Loading…
Reference in New Issue