Reset running jobs when the status line is enabled or disabled as well,

some people have it bound to a key.
This commit is contained in:
Nicholas Marriott 2010-09-01 21:06:51 +00:00
parent 8e8e0f1d53
commit 5309252053

View File

@ -293,6 +293,7 @@ cmd_set_option_exec(struct cmd *self, struct cmd_ctx *ctx)
*/ */
if (strcmp(entry->name, "status-left") == 0 || if (strcmp(entry->name, "status-left") == 0 ||
strcmp(entry->name, "status-right") == 0 || strcmp(entry->name, "status-right") == 0 ||
strcmp(entry->name, "status") == 0 ||
strcmp(entry->name, "set-titles-string") == 0 || strcmp(entry->name, "set-titles-string") == 0 ||
strcmp(entry->name, "window-status-format") == 0) { strcmp(entry->name, "window-status-format") == 0) {
for (i = 0; i < ARRAY_LENGTH(&clients); i++) { for (i = 0; i < ARRAY_LENGTH(&clients); i++) {