diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-02 18:03:27 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-02 18:03:27 +0200 |
commit | 2ffd141cf497e4c9e4953d302a0eae4c9592c0c3 (patch) | |
tree | a915d45786268a28f00c19a800cbb3033fa1c12f /src/gui/gui-input.c | |
parent | f51f02547eb3b1491c3bcc201927efd778c044b4 (diff) | |
download | weechat-2ffd141cf497e4c9e4953d302a0eae4c9592c0c3.zip |
Add new /layout command and save_layout_on_exit config option, to save/restore windows and buffers order (task #5453)
Diffstat (limited to 'src/gui/gui-input.c')
-rw-r--r-- | src/gui/gui-input.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gui/gui-input.c b/src/gui/gui-input.c index 359a1a1c4..7e99d6a73 100644 --- a/src/gui/gui-input.c +++ b/src/gui/gui-input.c @@ -1256,7 +1256,7 @@ gui_input_jump_smart () gui_window_switch_to_buffer (gui_current_window, gui_hotlist->buffer); gui_window_scroll_bottom (gui_current_window); - gui_window_redraw_buffer (gui_current_window->buffer); + gui_status_refresh_needed = 1; } else { @@ -1265,7 +1265,7 @@ gui_input_jump_smart () gui_window_switch_to_buffer (gui_current_window, gui_hotlist_initial_buffer); gui_window_scroll_bottom (gui_current_window); - gui_window_redraw_buffer (gui_current_window->buffer); + gui_status_refresh_needed = 1; gui_hotlist_initial_buffer = NULL; } } @@ -1315,7 +1315,7 @@ gui_input_hotlist_clear () if (gui_hotlist) { gui_hotlist_free_all (&gui_hotlist, &last_gui_hotlist); - gui_window_redraw_buffer (gui_current_window->buffer); + gui_status_refresh_needed = 1; } gui_hotlist_initial_buffer = gui_current_window->buffer; } @@ -1377,7 +1377,7 @@ gui_input_set_unread () } /* refresh all windows */ - gui_window_redraw_all_buffers (); + gui_window_refresh_needed = 1; } /* @@ -1388,10 +1388,7 @@ void gui_input_set_unread_current_buffer () { if (gui_current_window) - { gui_buffer_set_unread (gui_current_window->buffer); - gui_window_redraw_buffer (gui_current_window->buffer); - } } /* |