fix centering of elm wayland windows
authorChris Michael <cp.michael@samsung.com>
Mon, 12 Jan 2015 18:36:58 +0000 (13:36 -0500)
committerChris Michael <cp.michael@samsung.com>
Mon, 12 Jan 2015 18:36:58 +0000 (13:36 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_win.c

index 7587ce0..793b32e 100644 (file)
@@ -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;
 }