diff options
Diffstat (limited to 'src/bar.c')
-rw-r--r-- | src/bar.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -104,12 +104,12 @@ update_window_names (screen_info *s) sbuf_clear (bar_buffer); - for (w = rp_window_head; w; w = w->next) + for (w = rp_mapped_window_sentinel->next; + w != rp_mapped_window_sentinel; + w = w->next) { PRINT_DEBUG ("%d-%s\n", w->number, w->name); - if (w->state == STATE_UNMAPPED) continue; - if (w == rp_current_window) mark_start = strlen (sbuf_get (bar_buffer)); |