BUGS / FIXES
-------------------------------------------------------------------------------
-* ewl_test combo produces a window less than 0x0 pixels! wow!
* e_hints.c manually changes flags on a border instead of calling
e_border_stick() for example or the calls in e_border.c - add calls as needed
to e_border.c. before calling check the lock flags too.
pnd = E_NEW(E_Border_Pending_Move_Resize, 1);
if (!pnd) return;
pnd->resize = 1;
- pnd->w = w;
- pnd->h = h;
+ pnd->w = w - (bd->client_inset.l + bd->client_inset.r);
+ pnd->h = h - (bd->client_inset.t + bd->client_inset.b);
bd->pending_move_resize = evas_list_append(bd->pending_move_resize, pnd);
return;
}
pnd->resize = 1;
pnd->x = x;
pnd->y = y;
- pnd->w = w;
- pnd->h = h;
+ pnd->w = w - (bd->client_inset.l + bd->client_inset.r);
+ pnd->h = h - (bd->client_inset.t + bd->client_inset.b);
bd->pending_move_resize = evas_list_append(bd->pending_move_resize, pnd);
return;
}
{
if (pnd->resize)
{
- bd->w = pnd->w;
- bd->h = pnd->h;
- bd->client.w = pnd->w - (bd->client_inset.l + bd->client_inset.r);
- bd->client.h = pnd->h - (bd->client_inset.t + bd->client_inset.b);
+ bd->w = pnd->w + (bd->client_inset.l + bd->client_inset.r);
+ bd->h = pnd->h + (bd->client_inset.t + bd->client_inset.b);
+ bd->client.w = pnd->w;
+ bd->client.h = pnd->h;
bd->changes.size = 1;
}
}