aboutsummaryrefslogtreecommitdiff
path: root/cmd-next-layout.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-04-30 21:17:06 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-04-30 21:17:06 +0000
commit044e6f766017cb065fdd4f8db492e1b29cd8b87d (patch)
treecf7694b60ada53e488cd34e110857060dc533384 /cmd-next-layout.c
parenta6f2d8233569b4dcb6e26935b33b20f796ce958c (diff)
downloadrtmux-044e6f766017cb065fdd4f8db492e1b29cd8b87d.tar.gz
rtmux-044e6f766017cb065fdd4f8db492e1b29cd8b87d.tar.bz2
rtmux-044e6f766017cb065fdd4f8db492e1b29cd8b87d.zip
previous-layout command.
Diffstat (limited to 'cmd-next-layout.c')
-rw-r--r--cmd-next-layout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-next-layout.c b/cmd-next-layout.c
index f5f611f6..98017978 100644
--- a/cmd-next-layout.c
+++ b/cmd-next-layout.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-next-layout.c,v 1.1 2009-04-01 18:21:26 nicm Exp $ */
+/* $Id: cmd-next-layout.c,v 1.2 2009-04-30 21:17:06 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -49,6 +49,7 @@ cmd_next_layout_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
layout_next(wl->window);
+ ctx->info(ctx, "layout now: %s", layout_name(wl->window));
return (0);
}