height -= (20 + 20); /* We want space above and below the window */
return(height);
}
ULONG BestWindowHeight(struct Screen *scr, struct List *list)
{
ULONG fontheight, windowheight, screenheight;
fontheight = scr->Font->ta_YSize;
/* To calculate the window's bottom border size, I use the same size as the top border. This is because urouhack makes them equal sizes for some odd reason. */