mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 05:46:38 +02:00
core: fix refresh of windows after split (fix bug with horizontal separator between windows) (bug #37874)
This commit is contained in:
@@ -7,6 +7,8 @@ v0.4.0-dev, 2012-12-19
|
||||
Version 0.4.0 (under dev!)
|
||||
--------------------------
|
||||
|
||||
* core: fix refresh of windows after split (fix bug with horizontal separator
|
||||
between windows) (bug #37874)
|
||||
* core: fix stuck mouse (bug #36533)
|
||||
* core: fix default mouse buttons actions for script buffer (focus the window
|
||||
before executing action)
|
||||
|
||||
@@ -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