summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-03-17 13:17:02 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-03-17 13:16:59 -0400
commit89ea0402226eeb837b9c651130062bace00d8252 (patch)
treebfcd30a273cf425612bdb101430420c95c09748c
parentbe5ef5e6c4df8718128664189795a5d602bf58e2 (diff)
downloadenlightenment-89ea0402226eeb837b9c651130062bace00d8252.tar.gz
only re-set comp object position during show if client has been placed
avoid accidentally placing an unplaced client
-rw-r--r--src/bin/e_comp_object.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index d6ecfb8c10..11424a6153 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1714,7 +1714,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))