diff options
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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) { |