diff options
author | Thomas Adam <thomas@xteddy.org> | 2023-01-08 23:26:09 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2023-01-08 23:26:09 +0000 |
commit | 5086377f30aabcd45f44359b8118ffeeb89da5cb (patch) | |
tree | bd19d1f4f63e128aa3979f4c6b9ecab2a3b722fc /window.c | |
parent | 2a32565e0c882c9e78ef9c7d52476c3574331f62 (diff) | |
parent | 7c0789d2d2721b70e04fe6a589f644797d2b5e1f (diff) | |
download | rtmux-5086377f30aabcd45f44359b8118ffeeb89da5cb.tar.gz rtmux-5086377f30aabcd45f44359b8118ffeeb89da5cb.tar.bz2 rtmux-5086377f30aabcd45f44359b8118ffeeb89da5cb.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1545,8 +1545,10 @@ window_pane_input_callback(struct client *c, __unused const char *path, wp = window_pane_find_by_id(cdata->wp); if (cdata->file != NULL && (wp == NULL || c->flags & CLIENT_DEAD)) { - if (wp == NULL) + if (wp == NULL) { + c->retval = 1; c->flags |= CLIENT_EXIT; + } file_cancel(cdata->file); } else if (cdata->file == NULL || closed || error != 0) { cmdq_continue(cdata->item); |