Lines Matching defs:maxheight
424 int maxheight;
426 maxheight = conf->shadow ? SCREENLINES - (int)t.shadow.y : SCREENLINES;
427 if (maxheight <= 0)
433 maxheight -= conf->auto_topmargin;
434 if (maxheight <= 0)
438 maxheight -= conf->y;
439 if (maxheight <= 0)
444 maxheight -= conf->auto_downmargin;
445 if (maxheight <= 0)
449 return (maxheight);
801 int maxheight, maxwidth;
803 if ((maxheight = widget_max_height(conf)) == BSDDIALOG_ERROR)
807 *h = maxheight;
811 *h = MIN(rows, maxheight); /* rows is at most maxheight */