mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 09:43:13 +02:00
core: fix refresh of windows after split (fix bug with horizontal separator between windows) (bug #37874)
This commit is contained in:
@@ -1675,8 +1675,7 @@ gui_window_split_horizontal (struct t_gui_window *window, int percentage)
|
||||
/* assign same buffer for new window (top window) */
|
||||
gui_buffer_add_value_num_displayed (new_window->buffer, 1);
|
||||
|
||||
window->refresh_needed = 1;
|
||||
new_window->refresh_needed = 1;
|
||||
gui_window_ask_refresh (1);
|
||||
|
||||
gui_window_switch (new_window);
|
||||
}
|
||||
@@ -1725,8 +1724,7 @@ gui_window_split_vertical (struct t_gui_window *window, int percentage)
|
||||
/* assign same buffer for new window (right window) */
|
||||
gui_buffer_add_value_num_displayed (new_window->buffer, 1);
|
||||
|
||||
window->refresh_needed = 1;
|
||||
new_window->refresh_needed = 1;
|
||||
gui_window_ask_refresh (1);
|
||||
|
||||
gui_window_switch (new_window);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user