From 494e6bc5eedfc040451b2cc8d2a22aa5ca15e87f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 14 Feb 2014 13:43:15 -0500 Subject: [PATCH] another revision for client geometry resets: take new geometry instead of ignoring it --- src/bin/e_comp_object.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 846c724f4..12ef0068d 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -692,8 +692,9 @@ _e_comp_intercept_move(void *data, Evas_Object *obj, int x, int y) { if ((cw->ec->x != x) || (cw->ec->y != y)) { - cw->ec->post_move = 0; cw->ec->x = x, cw->ec->y = y; + cw->ec->client.x = x + cw->client_inset.l; + cw->ec->client.y = y + cw->client_inset.t; } return; } @@ -750,8 +751,9 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h) { if ((cw->ec->w != w) || (cw->ec->h != h)) { - cw->ec->post_resize = 0; cw->ec->w = w, cw->ec->h = h; + cw->ec->client.w = w - cw->client_inset.l - cw->client_inset.r; + cw->ec->client.h = h - cw->client_inset.t - cw->client_inset.b; } return; }