summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-09-07 13:20:28 +0000
committerTiago Cunha <tcunha@gmx.com>2010-09-07 13:20:28 +0000
commit33df467d40dbb4852e760ce84f594645b0b587a5 (patch)
treebd7c493f730029cef2440eb97fae762c1ab34abd
parent510b43569f4746d1d12f7b204c54b1e48a07033c (diff)
Sync OpenBSD patchset 756:
Reset running jobs when the status line is enabled or disabled as well, some people have it bound to a key.
-rw-r--r--cmd-set-option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index c86f04c2..ebf6c8a8 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-set-option.c,v 1.98 2010-07-02 02:45:52 tcunha Exp $ */
+/* $Id: cmd-set-option.c,v 1.99 2010-09-07 13:20:28 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -293,6 +293,7 @@ cmd_set_option_exec(struct cmd *self, struct cmd_ctx *ctx)
*/
if (strcmp(entry->name, "status-left") == 0 ||
strcmp(entry->name, "status-right") == 0 ||
+ strcmp(entry->name, "status") == 0 ||
strcmp(entry->name, "set-titles-string") == 0 ||
strcmp(entry->name, "window-status-format") == 0) {
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {