diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-10-16 22:01:14 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-10-16 22:01:14 +0100 |
commit | 1a6e696b08113ca17ee8e881844167cf94276846 (patch) | |
tree | 60ecdd8c9e51bff46624e48d9373686b858d2fb1 /cmd-rotate-window.c | |
parent | d401340c516131ae8e07bfb978b670347486d077 (diff) | |
parent | d15d54c2c8e6b95695169442eb2a27d814efc078 (diff) | |
download | rtmux-1a6e696b08113ca17ee8e881844167cf94276846.tar.gz rtmux-1a6e696b08113ca17ee8e881844167cf94276846.tar.bz2 rtmux-1a6e696b08113ca17ee8e881844167cf94276846.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-rotate-window.c')
-rw-r--r-- | cmd-rotate-window.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd-rotate-window.c b/cmd-rotate-window.c index bda810c3..aa83a25e 100644 --- a/cmd-rotate-window.c +++ b/cmd-rotate-window.c @@ -24,7 +24,8 @@ * Rotate the panes in a window. */ -static enum cmd_retval cmd_rotate_window_exec(struct cmd *, struct cmd_q *); +static enum cmd_retval cmd_rotate_window_exec(struct cmd *, + struct cmdq_item *); const struct cmd_entry cmd_rotate_window_entry = { .name = "rotate-window", @@ -40,9 +41,9 @@ const struct cmd_entry cmd_rotate_window_entry = { }; static enum cmd_retval -cmd_rotate_window_exec(struct cmd *self, struct cmd_q *cmdq) +cmd_rotate_window_exec(struct cmd *self, struct cmdq_item *item) { - struct winlink *wl = cmdq->state.tflag.wl; + struct winlink *wl = item->state.tflag.wl; struct window *w = wl->window; struct window_pane *wp, *wp2; struct layout_cell *lc; |