Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2015-12-19 10:01:08 +00:00
commit 58b3d66229

View File

@ -1140,7 +1140,9 @@ window_pane_key(struct window_pane *wp, struct client *c, struct session *s,
TAILQ_FOREACH(wp2, &wp->window->panes, entry) { TAILQ_FOREACH(wp2, &wp->window->panes, entry) {
if (wp2 == wp || wp2->mode != NULL) if (wp2 == wp || wp2->mode != NULL)
continue; continue;
if (wp2->fd != -1 && window_pane_visible(wp2)) if (wp2->fd == -1 || wp2->flags & PANE_INPUTOFF)
continue;
if (window_pane_visible(wp2))
input_key(wp2, key, NULL); input_key(wp2, key, NULL);
} }
} }