discomfitor pushed a commit to branch master.

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

commit 521a7f071ed4890c976c0bb7e1275cc4aa2080f8
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Dec 29 17:25:43 2014 -0500

    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 979328d..99ca974 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;
 }
 

-- 


Reply via email to