Display the layout name in window lists.

This commit is contained in:
Nicholas Marriott
2009-04-30 16:27:29 +00:00
parent 631f81f519
commit a583bbb730
4 changed files with 16 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $Id: layout.c,v 1.3 2009-04-01 21:10:08 nicm Exp $ */
/* $Id: layout.c,v 1.4 2009-04-30 16:27:29 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@ -42,6 +42,12 @@ const struct {
{ "left-vertical", layout_left_vertical },
};
const char *
layout_name(struct window *w)
{
return (layouts[w->layout].name);
}
void
layout_next(struct window *w)
{