From 521a7f071ed4890c976c0bb7e1275cc4aa2080f8 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 29 Dec 2014 17:25:43 -0500 Subject: [PATCH] use frame geometry in win resize trap to get accurate sizes ref T1905 --- src/bin/e_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_win.c b/src/bin/e_win.c index 979328d75..99ca97461 100644 --- a/src/bin/e_win.c +++ b/src/bin/e_win.c @@ -152,9 +152,9 @@ _e_elm_win_trap_resize(void *data, Evas_Object *o __UNUSED__, int w, int h) Elm_Win_Trap_Ctx *ctx = data; EINA_SAFETY_ON_NULL_RETURN_VAL(ctx, EINA_TRUE); if (!ctx->client) return EINA_TRUE; + e_comp_object_frame_wh_adjust(ctx->client->frame, w, h, &w, &h); e_client_resize_limit(ctx->client, &w, &h); - if ((ctx->client->client.w != w) || (ctx->client->client.h != h)) - e_client_util_resize_without_frame(ctx->client, w, h); + evas_object_resize(ctx->client->frame, w, h); return EINA_TRUE; }