devilhorns pushed a commit to branch master.

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

commit 1ec2a4e91c1ab1402b2a7f0c758684bdc37f3ef5
Author: Chris Michael <[email protected]>
Date:   Mon Jan 12 13:36:58 2015 -0500

    fix centering of elm wayland windows
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 7587ce0..793b32e 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -117,7 +117,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
         ctx->visible = 1;
         evas_object_show(ctx->client->frame);
      }
-   if (ctx->centered) e_comp_object_util_center(ctx->client->frame);
+   if (ctx->centered) e_comp_object_util_center(o);
    return EINA_TRUE;
 }
 

-- 


Reply via email to