diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2014-10-02 09:29:48 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2014-10-02 09:29:48 +0100 |
commit | 931c17ed4f3ac18470f5b385210d61b24a57b5d4 (patch) | |
tree | 6dbcfe073cec1ba8f34626bdfa04123b621eb9ed /window.c | |
parent | 24d9dc518de6761f645165d49f321b2b56904fb5 (diff) | |
parent | 2874a431c050527244a56e7f241baf053c722f88 (diff) | |
download | rtmux-931c17ed4f3ac18470f5b385210d61b24a57b5d4.tar.gz rtmux-931c17ed4f3ac18470f5b385210d61b24a57b5d4.tar.bz2 rtmux-931c17ed4f3ac18470f5b385210d61b24a57b5d4.zip |
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1071,8 +1071,9 @@ window_pane_key(struct window_pane *wp, struct session *sess, int key) 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) { @@ -1085,8 +1086,8 @@ window_pane_key(struct window_pane *wp, struct session *sess, int key) } 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; |