use client frame for internal win geometry setting on show

calling these functions on the elm_win has no effect here
This commit is contained in:
Mike Blumenkrantz 2017-08-25 14:47:04 -04:00
parent e93f67e74a
commit 00c01d0ae6
1 changed files with 2 additions and 2 deletions

View File

@ -170,8 +170,8 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
ctx->client->borderless |= borderless;
e_comp_object_frame_xy_adjust(ctx->client->frame, ctx->client->client.x, ctx->client->client.y, &ctx->client->x, &ctx->client->y);
e_comp_object_frame_wh_adjust(ctx->client->frame, ctx->client->client.w, ctx->client->client.h, &ctx->client->w, &ctx->client->h);
if (ctx->sized) evas_object_resize(o, ctx->w, ctx->h);
if (ctx->placed) evas_object_move(o, ctx->x, ctx->y);
if (ctx->sized) evas_object_resize(ctx->client->frame, ctx->w, ctx->h);
if (ctx->placed) evas_object_move(ctx->client->frame, ctx->x, ctx->y);
if (ctx->centered)
{
e_comp_object_util_center(o);