mirror of https://github.com/tmux/tmux.git
Merge branch 'obsd-master'
commit
9a5b2c93a7
|
@ -142,7 +142,7 @@ cmd_select_window_exec(struct cmd *self, struct cmdq_item *item)
|
||||||
}
|
}
|
||||||
cmdq_insert_hook(s, item, current, "after-select-window");
|
cmdq_insert_hook(s, item, current, "after-select-window");
|
||||||
}
|
}
|
||||||
if (c->session != NULL)
|
if (c != NULL && c->session != NULL)
|
||||||
s->curw->window->latest = c;
|
s->curw->window->latest = c;
|
||||||
recalculate_sizes();
|
recalculate_sizes();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue