summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-09-01 21:06:51 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-09-01 21:06:51 +0000
commit5309252053309339f5987726a0d9fe8827f70ecd (patch)
treecb2a50b963b7cf3d7b126143e6934a13cd8e8a23 /cmd-set-option.c
parent8e8e0f1d5353be14b4b0439f12895a86426fdbab (diff)
Reset running jobs when the status line is enabled or disabled as well,
some people have it bound to a key.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 8caf42e2..a3ca635c 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -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++) {