Add check for conformant app when calculating size/position.

SVN revision: 44112
This commit is contained in:
Christopher Michael 2009-12-02 01:38:23 +00:00
parent 1f6d1d1bea
commit 34b550e7e2
1 changed files with 8 additions and 1 deletions

View File

@ -141,7 +141,14 @@ _border_calc_position(E_Zone *z, E_Border *bd, int *x, int *y, int *w, int *h)
if (x) *x = z->x;
if (y) *y = (z->y + shelfsize);
if (w) *w = z->w;
if (h) *h = (z->h - shelfsize);
if (illume_border_is_conformant(bd))
{
if (h) *h = (z->h - shelfsize);
}
else
{
if (h) *h = (z->h - shelfsize - panelsize);
}
}
}