Home | History | Annotate | Download | only in dist

Lines Matching defs:columns

591 	u_int			 i, j, columns, rows, max_columns;
600 /* Get maximum columns from window option. */
601 max_columns = options_get_number(oo, "tiled-layout-max-columns");
603 /* How many rows and columns are wanted? */
604 rows = columns = 1;
605 while (rows * columns < n) {
607 if (rows * columns < n &&
608 (max_columns == 0 || columns < max_columns))
609 columns++;
613 width = (w->sx - (columns - 1)) / columns;
623 sx = ((width + 1) * columns) - 1;
645 if (n - (j * columns) == 1 || columns == 1) {
651 /* Add in the columns. */
653 for (i = 0; i < columns; i++) {
666 * Adjust the row and columns to fit the full width if
669 if (i == columns)