Add a layout history which can be stepped through with select-layout -u

and -U commands (bound to 'u' and 'U' by default).
This commit is contained in:
Nicholas Marriott
2012-04-01 13:18:38 +00:00
parent b831f86354
commit 85f5485cb5
8 changed files with 149 additions and 13 deletions

View File

@ -292,6 +292,7 @@ window_create1(u_int sx, u_int sy)
w->lastlayout = -1;
w->layout_root = NULL;
TAILQ_INIT(&w->layout_list);
w->sx = sx;
w->sy = sy;