unbreak window manipulation, need to test this more...

This commit is contained in:
Mike Blumenkrantz 2013-05-30 12:04:37 +01:00
parent e07ca1aa8e
commit ab0a0ad4d0
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}