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/gui-common.c | |
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/gui-common.c')
-rw-r--r-- | src/gui/gui-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c index 01baca2e9..0ffe77ce8 100644 --- a/src/gui/gui-common.c +++ b/src/gui/gui-common.c @@ -222,6 +222,7 @@ gui_window_new (t_gui_window *parent, int x, int y, int width, int height, new_window->win_nick_y = 0; new_window->win_nick_width = 0; new_window->win_nick_height = 0; + new_window->win_nick_num_max = 0; new_window->win_nick_start = 0; new_window->win_input_x = 0; @@ -364,7 +365,7 @@ gui_buffer_new (t_gui_window *window, void *server, void *channel, int type, window->first_line_displayed = 1; window->start_line = NULL; window->start_line_pos = 0; - gui_calculate_pos_size (window); + gui_calculate_pos_size (window, 1); gui_window_init_subwindows (window); } |