discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=fec6121b027c369b91bbdaa9f061a9671a694370

commit fec6121b027c369b91bbdaa9f061a9671a694370
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Mar 17 13:17:02 2017 -0400

    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 fd4aafb..a591286 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))

-- 


Reply via email to