summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2011-05-23 11:04:35 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2011-05-23 14:23:11 -0400
commitcecae6e2c378fc276b7b722d911ce9db90530bf9 (patch)
treea806386fcd482ff6d21f5f55ca3270cf7a5f2b03 /src
parent1d3ecfe767a10ec67b51184c27d1b995015aa46f (diff)
Avoid exclamation mark indicator on program startup.
Diffstat (limited to 'src')
-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;
}