Merge branch 'obsd-master'

pull/2436/head
Thomas Adam 2020-10-19 10:01:18 +01:00
commit 9a5b2c93a7
1 changed files with 1 additions and 1 deletions

View File

@ -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();