diff options
Diffstat (limited to 'src/gui/gui-window.c')
-rw-r--r-- | src/gui/gui-window.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/gui-window.c b/src/gui/gui-window.c index b7c49e946..3a9dd99a5 100644 --- a/src/gui/gui-window.c +++ b/src/gui/gui-window.c @@ -637,7 +637,7 @@ gui_window_scroll (struct t_gui_window *window, char *scroll) window->start_line_pos = 0; window->first_line_displayed = (window->start_line == gui_chat_get_first_line_displayed (window->buffer)); - window->buffer->chat_refresh_needed = 1; + window->buffer->chat_refresh_needed = 2; gui_status_refresh_needed = 1; return; } @@ -680,7 +680,7 @@ gui_window_search_text (struct t_gui_window *window) window->start_line_pos = 0; window->first_line_displayed = (window->start_line == gui_chat_get_first_line_displayed (window->buffer)); - window->buffer->chat_refresh_needed = 1; + window->buffer->chat_refresh_needed = 2; gui_status_refresh_needed = 1; return 1; } @@ -709,7 +709,7 @@ gui_window_search_text (struct t_gui_window *window) window->start_line_pos = 0; window->first_line_displayed = (window->start_line == window->buffer->lines); - window->buffer->chat_refresh_needed = 1; + window->buffer->chat_refresh_needed = 2; gui_status_refresh_needed = 1; return 1; } @@ -759,7 +759,7 @@ gui_window_search_restart (struct t_gui_window *window) window->buffer->text_search_found = 1; else { - window->buffer->chat_refresh_needed = 1; + window->buffer->chat_refresh_needed = 2; gui_status_refresh_needed = 1; } } @@ -784,7 +784,7 @@ gui_window_search_stop (struct t_gui_window *window) window->start_line = NULL; window->start_line_pos = 0; gui_hotlist_remove_buffer (window->buffer); - window->buffer->chat_refresh_needed = 1; + window->buffer->chat_refresh_needed = 2; gui_status_refresh_needed = 1; window->buffer->input_refresh_needed = 1; } |