diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-10-19 10:01:18 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-10-19 10:01:18 +0100 |
commit | 9a5b2c93a7129a6e6e74e4b6d4c2c78dd568b8d4 (patch) | |
tree | 63375e056b485280dfdee575380b825d262699da | |
parent | 6125800876433e5d27d327f36390183bcfc6a1be (diff) | |
parent | d8cda9286ff1157ed46126bc4a797b08bb9436ae (diff) | |
download | rtmux-9a5b2c93a7129a6e6e74e4b6d4c2c78dd568b8d4.tar.gz rtmux-9a5b2c93a7129a6e6e74e4b6d4c2c78dd568b8d4.tar.bz2 rtmux-9a5b2c93a7129a6e6e74e4b6d4c2c78dd568b8d4.zip |
Merge branch 'obsd-master'
-rw-r--r-- | cmd-select-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-select-window.c b/cmd-select-window.c index c85f36be..8dd358b0 100644 --- a/cmd-select-window.c +++ b/cmd-select-window.c @@ -142,7 +142,7 @@ cmd_select_window_exec(struct cmd *self, struct cmdq_item *item) } cmdq_insert_hook(s, item, current, "after-select-window"); } - if (c->session != NULL) + if (c != NULL && c->session != NULL) s->curw->window->latest = c; recalculate_sizes(); |