summaryrefslogtreecommitdiffstats
path: root/cmd-choose-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-04-30 16:27:29 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-04-30 16:27:29 +0000
commita583bbb730201b863c783daa90a21f119ca9f168 (patch)
tree5bedf90566fcd279ab76114e7c37afa933fbef8f /cmd-choose-window.c
parent631f81f519efe3869c59278a5bc00b3673191c96 (diff)
Display the layout name in window lists.
Diffstat (limited to 'cmd-choose-window.c')
-rw-r--r--cmd-choose-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-choose-window.c b/cmd-choose-window.c
index 9820c01e..9963fb5c 100644
--- a/cmd-choose-window.c
+++ b/cmd-choose-window.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-choose-window.c,v 1.7 2009-01-19 18:23:40 nicm Exp $ */
+/* $Id: cmd-choose-window.c,v 1.8 2009-04-30 16:27:29 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -76,8 +76,8 @@ cmd_choose_window_exec(struct cmd *self, struct cmd_ctx *ctx)
idx++;
window_choose_add(wl->window->active,
- wm->idx, "%3d: %s [%ux%u] (%u panes)", wm->idx, w->name,
- w->sx, w->sy, window_count_panes(w));
+ wm->idx, "%3d: %s [%ux%u %s] (%u panes)", wm->idx, w->name,
+ w->sx, w->sy, layout_name(w), window_count_panes(w));
}
cdata = xmalloc(sizeof *cdata);