summaryrefslogtreecommitdiffstats
path: root/spawn.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-09-23 18:01:24 +0100
committerThomas Adam <thomas@xteddy.org>2019-09-23 18:01:24 +0100
commitdd254b90d7a281ee10e10cde3e70749f143af368 (patch)
tree585a2e4e1195998963f5d77fe4f55a2836dbcd2f /spawn.c
parent24ab1bc714b80d957b53685635a44dc0a89c032b (diff)
parent77deef733bfc547325d7c6db3e0274b1c52281b9 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'spawn.c')
-rw-r--r--spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spawn.c b/spawn.c
index e169b1e0..5a44df4d 100644
--- a/spawn.c
+++ b/spawn.c
@@ -153,7 +153,7 @@ spawn_window(struct spawn_context *sc, char **cause)
xasprintf(cause, "couldn't add window %d", idx);
return (NULL);
}
- default_window_size(s, NULL, &sx, &sy, -1);
+ default_window_size(sc->c, s, NULL, &sx, &sy, -1);
if ((w = window_create(sx, sy)) == NULL) {
winlink_remove(&s->windows, sc->wl);
xasprintf(cause, "couldn't create window %d", idx);