Lines Matching refs:wp2
1622 win_T *wp2; in win_exchange() local
1665 wp2 = curwin->w_prev; in win_exchange()
1674 if (wp != wp2) in win_exchange()
1678 win_append(wp2, wp); in win_exchange()
1710 win_T *wp2; in win_rotate() local
1748 wp2 = frp->fr_win; // previously last window in win_rotate()
1757 wp2 = wp1->w_prev; // will become last window in win_rotate()
1767 n = wp2->w_status_height; in win_rotate()
1768 wp2->w_status_height = wp1->w_status_height; in win_rotate()
1771 frame_fix_height(wp2); in win_rotate()
1772 n = wp2->w_vsep_width; in win_rotate()
1773 wp2->w_vsep_width = wp1->w_vsep_width; in win_rotate()
1776 frame_fix_width(wp2); in win_rotate()
6821 win_T *wp2; in restore_snapshot_rec() local
6833 wp2 = restore_snapshot_rec(sn->fr_next, fr->fr_next); in restore_snapshot_rec()
6834 if (wp2 != NULL) in restore_snapshot_rec()
6835 wp = wp2; in restore_snapshot_rec()
6839 wp2 = restore_snapshot_rec(sn->fr_child, fr->fr_child); in restore_snapshot_rec()
6840 if (wp2 != NULL) in restore_snapshot_rec()
6841 wp = wp2; in restore_snapshot_rec()