diff options
Diffstat (limited to 'cmd-next-layout.c')
-rw-r--r-- | cmd-next-layout.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd-next-layout.c b/cmd-next-layout.c index b89dda3d..088046fa 100644 --- a/cmd-next-layout.c +++ b/cmd-next-layout.c @@ -44,12 +44,13 @@ cmd_next_layout_exec(struct cmd *self, struct cmd_ctx *ctx) { struct cmd_target_data *data = self->data; struct winlink *wl; + u_int layout; if ((wl = cmd_find_window(ctx, data->target, NULL)) == NULL) return (-1); - layout_next(wl->window); - ctx->info(ctx, "layout now: %s", layout_name(wl->window)); + layout = layout_set_next(wl->window); + ctx->info(ctx, "arranging in: %s", layout_set_name(layout)); return (0); } |