diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-04-14 00:01:41 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-04-14 00:01:41 +0100 |
commit | 653a159225609f7e5efb45bc78cdf7b480d7ef93 (patch) | |
tree | de075bcb7fdbd8a3fbd9f800c3a04c63cfdfac6b /spawn.c | |
parent | 2159ff3256df4b823dfaed24e64047249cf079c2 (diff) | |
parent | fc83517913c8280c222a6cf78ca7fb8053421b37 (diff) | |
download | rtmux-653a159225609f7e5efb45bc78cdf7b480d7ef93.tar.gz rtmux-653a159225609f7e5efb45bc78cdf7b480d7ef93.tar.bz2 rtmux-653a159225609f7e5efb45bc78cdf7b480d7ef93.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'spawn.c')
-rw-r--r-- | spawn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,7 +151,7 @@ spawn_window(struct spawn_context *sc, char **cause) xasprintf(cause, "couldn't add window %d", idx); return (NULL); } - default_window_size(sc->c, s, NULL, &sx, &sy, &xpixel, &ypixel, + default_window_size(sc->tc, s, NULL, &sx, &sy, &xpixel, &ypixel, -1); if ((w = window_create(sx, sy, xpixel, ypixel)) == NULL) { winlink_remove(&s->windows, sc->wl); @@ -161,7 +161,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; + w->latest = sc->tc; winlink_set_window(sc->wl, w); } else w = NULL; |