aboutsummaryrefslogtreecommitdiff
path: root/control-notify.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-07-10 13:02:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-07-10 13:02:26 +0100
commit9cbbdb90bf7385799ea15741b024c6c443c203ce (patch)
tree44f044575e1ff16a1f4c296e8a42daa8937e2fbb /control-notify.c
parent98ef369b27b631b7893446fbdf7c9d6ce9c1b43a (diff)
parentf4d858e7a0888cfd1d09c421f71729e833322851 (diff)
downloadrtmux-9cbbdb90bf7385799ea15741b024c6c443c203ce.tar.gz
rtmux-9cbbdb90bf7385799ea15741b024c6c443c203ce.tar.bz2
rtmux-9cbbdb90bf7385799ea15741b024c6c443c203ce.zip
Merge branch 'obsd-master'
Diffstat (limited to 'control-notify.c')
-rw-r--r--control-notify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/control-notify.c b/control-notify.c
index 340dab73..a1e2b7bf 100644
--- a/control-notify.c
+++ b/control-notify.c
@@ -36,6 +36,9 @@ control_notify_input(struct client *c, struct window_pane *wp,
if (c->session == NULL)
return;
+ if (c->flags & CLIENT_CONTROL_NOOUTPUT)
+ return;
+
/*
* Only write input if the window pane is linked to a window belonging
* to the client's session.