summaryrefslogtreecommitdiffstats
path: root/cmd-rotate-window.c
authornicm <nicm>2009-05-21 19:46:00 (GMT)
committer nicm <nicm>2009-05-21 19:46:00 (GMT)
commit39dcbe8b738620ebfef6cb4e1ae58505a7e95829 (patch) (side-by-side diff)
treedb9c99cd112868408e3e180bbfa0ac1c34c784dd /cmd-rotate-window.c
parent941937c09609f8030572048705f4c6ad39f9fdc5 (diff)
downloadtmux-old-39dcbe8b738620ebfef6cb4e1ae58505a7e95829.zip
tmux-old-39dcbe8b738620ebfef6cb4e1ae58505a7e95829.tar.gz
tmux-old-39dcbe8b738620ebfef6cb4e1ae58505a7e95829.tar.bz2
UPPER -> BIG, sort, and bump protocol version.
Diffstat (limited to 'cmd-rotate-window.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-rotate-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-rotate-window.c b/cmd-rotate-window.c
index 6d2706a..2145c45 100644
--- a/cmd-rotate-window.c
+++ b/cmd-rotate-window.c
@@ -30,7 +30,7 @@ int cmd_rotate_window_exec(struct cmd *, struct cmd_ctx *);
const struct cmd_entry cmd_rotate_window_entry = {
"rotate-window", "rotatew",
"[-DU] " CMD_TARGET_WINDOW_USAGE,
- CMD_UPPERUFLAG|CMD_UPPERDFLAG,
+ CMD_BIGUFLAG|CMD_BIGDFLAG,
cmd_rotate_window_init,
cmd_target_parse,
cmd_rotate_window_exec,
@@ -49,7 +49,7 @@ cmd_rotate_window_init(struct cmd *self, int key)
data = self->data;
if (key == KEYC_ADDESC('o'))
- data->flags |= CMD_UPPERDFLAG;
+ data->flags |= CMD_BIGDFLAG;
}
int
@@ -65,7 +65,7 @@ cmd_rotate_window_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
w = wl->window;
- if (data->flags & CMD_UPPERDFLAG) {
+ if (data->flags & CMD_BIGDFLAG) {
wp = TAILQ_LAST(&w->panes, window_panes);
TAILQ_REMOVE(&w->panes, wp, entry);
TAILQ_INSERT_HEAD(&w->panes, wp, entry);