aboutsummaryrefslogtreecommitdiff
path: root/cmd-rotate-window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-08-30 12:01:10 +0100
committerThomas Adam <thomas@xteddy.org>2017-08-30 12:01:10 +0100
commit54c5070767d58a4fb0559eb9b3ee19caa72c4a73 (patch)
tree42ba41994c3144be24e528ef78b888d2b913792e /cmd-rotate-window.c
parentfa20f19494f9957326380fd9f671fa69fb88c4b7 (diff)
parent17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475 (diff)
downloadrtmux-54c5070767d58a4fb0559eb9b3ee19caa72c4a73.tar.gz
rtmux-54c5070767d58a4fb0559eb9b3ee19caa72c4a73.tar.bz2
rtmux-54c5070767d58a4fb0559eb9b3ee19caa72c4a73.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-rotate-window.c')
-rw-r--r--cmd-rotate-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-rotate-window.c b/cmd-rotate-window.c
index 7a1d9b28..5a900a13 100644
--- a/cmd-rotate-window.c
+++ b/cmd-rotate-window.c
@@ -78,7 +78,7 @@ cmd_rotate_window_exec(struct cmd *self, struct cmdq_item *item)
if ((wp = TAILQ_PREV(w->active, window_panes, entry)) == NULL)
wp = TAILQ_LAST(&w->panes, window_panes);
window_set_active_pane(w, wp);
- cmd_find_from_winlink_pane(current, wl, wp);
+ cmd_find_from_winlink_pane(current, wl, wp, 0);
server_redraw_window(w);
} else {
wp = TAILQ_FIRST(&w->panes);
@@ -106,7 +106,7 @@ cmd_rotate_window_exec(struct cmd *self, struct cmdq_item *item)
if ((wp = TAILQ_NEXT(w->active, entry)) == NULL)
wp = TAILQ_FIRST(&w->panes);
window_set_active_pane(w, wp);
- cmd_find_from_winlink_pane(current, wl, wp);
+ cmd_find_from_winlink_pane(current, wl, wp, 0);
server_redraw_window(w);
}