version 1.20, 2015/06/04 11:43:51 |
version 1.21, 2015/08/30 15:43:40 |
|
|
src_wp = TAILQ_NEXT(dst_wp, entry); |
src_wp = TAILQ_NEXT(dst_wp, entry); |
if (src_wp == NULL) |
if (src_wp == NULL) |
src_wp = TAILQ_FIRST(&dst_w->panes); |
src_wp = TAILQ_FIRST(&dst_w->panes); |
src_wl = dst_wl; |
|
} else if (args_has(self->args, 'U')) { |
} else if (args_has(self->args, 'U')) { |
src_wp = TAILQ_PREV(dst_wp, window_panes, entry); |
src_wp = TAILQ_PREV(dst_wp, window_panes, entry); |
if (src_wp == NULL) |
if (src_wp == NULL) |
src_wp = TAILQ_LAST(&dst_w->panes, window_panes); |
src_wp = TAILQ_LAST(&dst_w->panes, window_panes); |
src_wl = dst_wl; |
|
} else { |
} else { |
src_wl = cmd_find_pane_marked(cmdq, NULL, NULL, |
src_wl = cmd_find_pane_marked(cmdq, NULL, NULL, |
&src_wp); |
&src_wp); |