From ab0a0ad4d0c0d52281c205a753248b0b3e453309 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 30 May 2013 12:04:37 +0100 Subject: [PATCH] unbreak window manipulation, need to test this more... --- src/bin/e_comp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 1966bfb40..3565b11c8 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -3022,9 +3022,9 @@ _e_comp_configure(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) } } - if ((!cw->bd) && (!((cw->x == ev->x) && (cw->y == ev->y) && + if (!((cw->x == ev->x) && (cw->y == ev->y) && (cw->w == ev->w) && (cw->h == ev->h) && - (cw->border == ev->border)))) + (cw->border == ev->border))) { _e_comp_win_configure(cw, ev->x, ev->y, ev->w, ev->h, ev->border); if (cw->free_shape) @@ -3503,7 +3503,7 @@ _e_comp_bd_resize(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) E_Event_Border_Resize *ev = event; E_Comp_Win *cw = _e_comp_win_find(ev->border->win); if (!cw) return ECORE_CALLBACK_PASS_ON; - _e_comp_win_configure(cw, cw->bd->x + cw->bd->client_inset.l, cw->bd->y + cw->bd->client_inset.t, ev->border->client.w, ev->border->client.h, cw->border); + _e_comp_win_configure(cw, cw->x, cw->y, ev->border->w, ev->border->h, cw->border); return ECORE_CALLBACK_PASS_ON; }