From 2da48644837cd51cfe5a9628140866f06e049e50 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 28 Jul 2009 06:48:44 +0000 Subject: If select-layout is not given an argument, repply the last layout used in the window, if any. --- cmd-server-info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd-server-info.c') diff --git a/cmd-server-info.c b/cmd-server-info.c index 24cd90b7..ce038e12 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -112,9 +112,9 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) RB_FOREACH(wl, winlinks, &s->windows) { w = wl->window; ctx->print(ctx, "%4u: %s [%ux%u] [flags=0x%x, " - "references=%u, layout=%u]", wl->idx, w->name, + "references=%u, last layout=%d]", wl->idx, w->name, w->sx, w->sy, w->flags, w->references, - w->layout); + w->lastlayout); j = 0; TAILQ_FOREACH(wp, &w->panes, entry) { lines = ulines = size = usize = 0; -- cgit v1.2.3