Lines Matching refs:topframe
905 minwidth = frame_minwidth(topframe, NOWIN); in win_split_ins()
906 available = topframe->fr_width; in win_split_ins()
922 available = topframe->fr_width; in win_split_ins()
988 minheight = frame_minheight(topframe, NOWIN) + need_status; in win_split_ins()
989 available = topframe->fr_height; in win_split_ins()
1005 available = topframe->fr_height; in win_split_ins()
1118 if ((topframe->fr_layout == FR_COL && (flags & WSP_VERT) == 0) in win_split_ins()
1119 || (topframe->fr_layout == FR_ROW && (flags & WSP_VERT) != 0)) in win_split_ins()
1121 curfrp = topframe->fr_child; in win_split_ins()
1127 curfrp = topframe; in win_split_ins()
1904 topframe, dir, 0, tabline_height(), in win_equal()
1905 (int)Columns, topframe->fr_height); in win_equal()
2988 if (topframe->fr_child == frp2) in winframe_remove()
2989 topframe->fr_child = frp; in winframe_remove()
3013 if (topframe->fr_child == frp) in winframe_remove()
3014 topframe->fr_child = frp2; in winframe_remove()
3719 first_tabpage->tp_topframe = topframe; in win_alloc_first()
3803 topframe = curwin->w_frame; in win_alloc_firstwin()
3804 topframe->fr_width = Columns; in win_alloc_firstwin()
3805 topframe->fr_height = Rows - p_ch; in win_alloc_firstwin()
3833 topframe->fr_height = ROWS_AVAIL; in win_init_size()
3835 topframe->fr_width = Columns; in win_init_size()
3973 newtp->tp_topframe = topframe; in win_new_tabpage()
4219 topframe = tp->tp_topframe; in enter_tabpage()
5354 if (h < frame_minheight(topframe, NULL)) in shell_new_rows()
5355 h = frame_minheight(topframe, NULL); in shell_new_rows()
5359 frame_new_height(topframe, h, FALSE, TRUE); in shell_new_rows()
5360 if (!frame_check_height(topframe, h)) in shell_new_rows()
5361 frame_new_height(topframe, h, FALSE, FALSE); in shell_new_rows()
5385 frame_new_width(topframe, (int)Columns, FALSE, TRUE); in shell_new_columns()
5386 if (!frame_check_width(topframe, Columns)) in shell_new_columns()
5387 frame_new_width(topframe, (int)Columns, FALSE, FALSE); in shell_new_columns()
5464 frame_comp_pos(topframe, &row, &col); in win_comp_pos()
5677 topframe->fr_height += room_cmdline; in frame_setheight()
5953 needed = frame_minwidth(topframe, NULL); in win_setminwidth()
5980 if (fr != topframe) // more than one window in win_drag_status_line()
5988 if (fr != topframe) // only a row of windows, may drag statusline in win_drag_status_line()
5995 while (curfr != topframe && curfr->fr_next == NULL) in win_drag_status_line()
5997 if (fr != topframe) in win_drag_status_line()
6000 if (fr != topframe) in win_drag_status_line()
6107 if (fr == topframe) // only one window (cannot happen?) in win_drag_vsep_line()
6114 if (fr == topframe) // only a column of windows (cannot happen?) in win_drag_vsep_line()
6124 if (fr == topframe) in win_drag_vsep_line()
6128 if (fr != topframe) in win_drag_vsep_line()
6514 last_status_rec(topframe, (p_ls == 2 in last_status()
6540 if (fp == topframe) in last_status_rec()
6726 make_snapshot_rec(topframe, &curtab->tp_snapshot[idx]); in make_snapshot()
6780 && curtab->tp_snapshot[idx]->fr_width == topframe->fr_width in restore_snapshot()
6781 && curtab->tp_snapshot[idx]->fr_height == topframe->fr_height in restore_snapshot()
6782 && check_snapshot_rec(curtab->tp_snapshot[idx], topframe) == OK) in restore_snapshot()
6784 wp = restore_snapshot_rec(curtab->tp_snapshot[idx], topframe); in restore_snapshot()
6855 if (topframe->fr_layout == FR_ROW) in win_hasvertsplit()
6858 if (topframe->fr_layout == FR_COL) in win_hasvertsplit()
6859 FOR_ALL_FRAMES(fr, topframe->fr_child) in win_hasvertsplit()