From fec6121b027c369b91bbdaa9f061a9671a694370 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 17 Mar 2017 13:17:02 -0400 Subject: [PATCH] only re-set comp object position during show if client has been placed avoid accidentally placing an unplaced client --- src/bin/e_comp_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index fd4aafb4b..a59128689 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -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))