summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-11 16:17:43 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-10-11 16:17:43 +0200
commitf6073c80765cda45af6b4518fd3b3d4c3506b1d3 (patch)
tree66d460935f6871c11aa96c2b320db309bee48c7a
parentcd008a1b5c8677b4b6bfa77fcfdded5019c07bf4 (diff)
downloadweechat-f6073c80765cda45af6b4518fd3b3d4c3506b1d3.zip
Fix refresh of bars when switching active buffer
-rw-r--r--src/gui/curses/gui-curses-main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c
index 894433d85..636f374e6 100644
--- a/src/gui/curses/gui-curses-main.c
+++ b/src/gui/curses/gui-curses-main.c
@@ -253,6 +253,13 @@ gui_main_loop ()
}
else
{
+ /* refresh bars if needed */
+ for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar)
+ {
+ if (ptr_bar->bar_refresh_needed)
+ gui_bar_draw (ptr_bar);
+ }
+
for (ptr_win = gui_windows; ptr_win; ptr_win = ptr_win->next_window)
{
if (ptr_win->refresh_needed)