summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-06-18 11:08:42 +0000
committernicm <nicm@openbsd.org>2019-06-18 11:08:42 +0000
commit780ca620f1c716c2970da67fa9e9172129a7e3d1 (patch)
tree044e1e90945d435fef72b6aaed82bd82899f9fce /usr.bin/tmux/window.c
parentEnsure the length passed to ffs_truncate() is within bounds before calling (diff)
downloadwireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.tar.xz
wireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.zip
Add a cmdq_continue function rather than twiddling the flag directly.
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r--usr.bin/tmux/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c
index 103c6e30c13..7721514c59c 100644
--- a/usr.bin/tmux/window.c
+++ b/usr.bin/tmux/window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window.c,v 1.232 2019/06/13 19:46:00 nicm Exp $ */
+/* $OpenBSD: window.c,v 1.233 2019/06/18 11:08:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1512,7 +1512,7 @@ window_pane_input_callback(struct client *c, int closed, void *data)
c->stdin_callback = NULL;
server_client_unref(c);
- cdata->item->flags &= ~CMDQ_WAITING;
+ cmdq_continue(cdata->item);
free(cdata);
return;