diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-03-31 13:49:58 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-03-31 13:49:58 +0000 |
commit | c8034196161189e8571104003cfa839c06ea2489 (patch) | |
tree | 33d1790e96307ebda481f99db42f30a49f092601 /src/gui/gtk | |
parent | cc324abb758facdf8d29c3828030c7796027a9a4 (diff) | |
download | weechat-c8034196161189e8571104003cfa839c06ea2489.zip |
Fixed nicklist display bugs when on top or bottom of chat window, fixed refresh bug (too many refresh) when terminal is resized
Diffstat (limited to 'src/gui/gtk')
-rw-r--r-- | src/gui/gtk/gui-display.c | 9 |
1 files changed, 6 insertions, 3 deletions
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) { |