Add select-layout -o to undo the last layout change (apply the previously

set layout).
This commit is contained in:
nicm
2015-04-28 10:43:13 +00:00
parent c2bc84aa4d
commit 771744426e
4 changed files with 59 additions and 28 deletions

View File

@ -344,6 +344,7 @@ window_destroy(struct window *w)
if (w->layout_root != NULL)
layout_free(w);
free(w->old_layout);
if (event_initialized(&w->name_timer))
evtimer_del(&w->name_timer);