diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-28 06:48:44 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-28 06:48:44 +0000 |
commit | 2da48644837cd51cfe5a9628140866f06e049e50 (patch) | |
tree | 299073ccb81f85b53b47b60324cd1508f8e2621e /cmd-server-info.c | |
parent | 309b76fb3255529976ff7ade7e29df8624647312 (diff) |
If select-layout is not given an argument, repply the last layout used in the
window, if any.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r-- | cmd-server-info.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |