From c8034196161189e8571104003cfa839c06ea2489 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 31 Mar 2006 13:49:58 +0000 Subject: Fixed nicklist display bugs when on top or bottom of chat window, fixed refresh bug (too many refresh) when terminal is resized --- src/gui/gtk/gui-display.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/gui/gtk') diff --git a/src/gui/gtk/gui-display.c b/src/gui/gtk/gui-display.c index 01041ee8e..a332fb39c 100644 --- a/src/gui/gtk/gui-display.c +++ b/src/gui/gtk/gui-display.c @@ -673,11 +673,14 @@ gui_window_chat_set_weechat_color (t_gui_window *window, int weechat_color) * gui_calculate_pos_size: calculate position and size for a window & sub-win */ -void -gui_calculate_pos_size (t_gui_window *window) +int +gui_calculate_pos_size (t_gui_window *window, int force_calculate) { /* TODO: write this function for Gtk */ (void) window; + (void) force_calculate; + + return 0; } /* @@ -1333,7 +1336,7 @@ gui_switch_to_buffer (t_gui_window *window, t_gui_buffer *buffer) window->buffer = buffer; window->win_nick_start = 0; - gui_calculate_pos_size (window); + gui_calculate_pos_size (window, 1); if (!window->textview_chat) { -- cgit v1.2.3