summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/display.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/display.c b/src/display.c
index a93a1b1..fecc414 100644
--- a/src/display.c
+++ b/src/display.c
@@ -386,6 +386,7 @@ display_buffer_new(struct buffer *b)
CIRCLEQ_INSERT_TAIL(&displays, d, display_next);
num_displays++;
+ attention_indicator = 1;
}
display_view_insert(b->bg_view, d);
@@ -395,10 +396,8 @@ display_buffer_new(struct buffer *b)
if (is_switcher)
show_switcher();
- else {
- attention_indicator = 1;
+ else
display_update_seclabel(active_display);
- }
return 0;
}