=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window.c,v retrieving revision 1.112 retrieving revision 1.113 diff -u -r1.112 -r1.113 --- src/usr.bin/tmux/window.c 2014/06/23 10:27:05 1.112 +++ src/usr.bin/tmux/window.c 2014/08/11 22:14:30 1.113 @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.112 2014/06/23 10:27:05 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.113 2014/08/11 22:14:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1057,8 +1057,9 @@ return; } - if (wp->fd == -1) + if (wp->fd == -1 || wp->flags & PANE_INPUTOFF) return; + input_key(wp, key); if (options_get_number(&wp->window->options, "synchronize-panes")) { TAILQ_FOREACH(wp2, &wp->window->panes, entry) { @@ -1071,8 +1072,8 @@ } void -window_pane_mouse( - struct window_pane *wp, struct session *sess, struct mouse_event *m) +window_pane_mouse(struct window_pane *wp, struct session *sess, + struct mouse_event *m) { if (!window_pane_visible(wp)) return;