summaryrefslogtreecommitdiffstats
path: root/spawn.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2023-07-10 12:01:12 +0100
committerThomas Adam <thomas@xteddy.org>2023-07-10 12:01:12 +0100
commit269dab4b3e593ade4995ebbcb428025f51c542fd (patch)
tree57f59066a9526c6bcf59ef24a58ac562cd3bdeb6 /spawn.c
parente4c4ceb2865fd9d2006a85c7f48bb7b6dd2f5c49 (diff)
parent4ece43a02961dc6726e97b05caca9a3c53793826 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'spawn.c')
-rw-r--r--spawn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/spawn.c b/spawn.c
index a7c39023..d321dba4 100644
--- a/spawn.c
+++ b/spawn.c
@@ -113,6 +113,7 @@ spawn_window(struct spawn_context *sc, char **cause)
window_pane_resize(sc->wp0, w->sx, w->sy);
layout_init(w, sc->wp0);
+ w->active = NULL;
window_set_active_pane(w, sc->wp0, 0);
}