summaryrefslogtreecommitdiff
path: root/src/gui/gtk
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-03-31 13:49:58 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-03-31 13:49:58 +0000
commitc8034196161189e8571104003cfa839c06ea2489 (patch)
tree33d1790e96307ebda481f99db42f30a49f092601 /src/gui/gtk
parentcc324abb758facdf8d29c3828030c7796027a9a4 (diff)
downloadweechat-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.c9
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)
{