Sync OpenBSD patchset 1084:

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:
Tiago Cunha
2012-04-10 09:52:45 +00:00
parent b58d7f78a1
commit f99de22808
8 changed files with 149 additions and 13 deletions

View File

@ -289,6 +289,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;