=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window.c,v retrieving revision 1.112 retrieving revision 1.113 diff -c -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 **** ! /* $OpenBSD: window.c,v 1.112 2014/06/23 10:27:05 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: window.c,v 1.113 2014/08/11 22:14:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1057,1064 **** return; } ! if (wp->fd == -1) return; input_key(wp, key); if (options_get_number(&wp->window->options, "synchronize-panes")) { TAILQ_FOREACH(wp2, &wp->window->panes, entry) { --- 1057,1065 ---- return; } ! 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,1078 **** } void ! window_pane_mouse( ! struct window_pane *wp, struct session *sess, struct mouse_event *m) { if (!window_pane_visible(wp)) return; --- 1072,1079 ---- } void ! window_pane_mouse(struct window_pane *wp, struct session *sess, ! struct mouse_event *m) { if (!window_pane_visible(wp)) return;