From 647887b794c00285047aa54ac0d44ae50c7847d7 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 19 Sep 2019 09:02:30 +0000 Subject: Add a "latest" window-size option which tries to size windows based on the most recently used client. From Tommie Gannert in GitHub issue 1869 based on earlier changes from me. --- spawn.c | 1 + 1 file changed, 1 insertion(+) (limited to 'spawn.c') diff --git a/spawn.c b/spawn.c index 52763083..1917955e 100644 --- a/spawn.c +++ b/spawn.c @@ -164,6 +164,7 @@ spawn_window(struct spawn_context *sc, char **cause) if (s->curw == NULL) s->curw = sc->wl; sc->wl->session = s; + w->latest = sc->c; winlink_set_window(sc->wl, w); } else w = NULL; -- cgit