summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 6fc6c8ba..356668ee 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -200,6 +200,11 @@ cmd_set_option_exec(struct cmd *self, struct cmd_q *cmdq)
status_timer_start_all();
if (strcmp(oe->name, "monitor-silence") == 0)
alerts_reset_all();
+ if (strcmp(oe->name, "window-style") == 0 ||
+ strcmp(oe->name, "window-active-style") == 0) {
+ RB_FOREACH(w, windows, &windows)
+ w->flags |= WINDOW_STYLECHANGED;
+ }
/* When the pane-border-status option has been changed, resize panes. */
if (strcmp(oe->name, "pane-border-status") == 0) {