Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2024-04-10 10:01:13 +01:00
6 changed files with 25 additions and 4 deletions

View File

@ -481,7 +481,7 @@ window_pane_update_focus(struct window_pane *wp)
struct client *c;
int focused = 0;
if (wp != NULL) {
if (wp != NULL && (~wp->flags & PANE_EXITED)) {
if (wp != wp->window->active)
focused = 0;
else {