diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-12-31 10:40:00 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-12-31 10:40:00 +0100 |
commit | 73bac5491bf1cecf7f550b9b1b985e3fcd0faf4f (patch) | |
tree | b41ea9ddefc60ae2bed679228968167ec077a206 /src/gui/curses | |
parent | 05839983d45af29a383a8e702753eb9617b4e260 (diff) | |
download | weechat-73bac5491bf1cecf7f550b9b1b985e3fcd0faf4f.zip |
core: move function gui_input_move_to_buffer to gui-buffer.c
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-curses-window.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c index 416db4c0c..35fa5746a 100644 --- a/src/gui/curses/gui-curses-window.c +++ b/src/gui/curses/gui-curses-window.c @@ -48,7 +48,6 @@ #include "../gui-color.h" #include "../gui-cursor.h" #include "../gui-hotlist.h" -#include "../gui-input.h" #include "../gui-key.h" #include "../gui-layout.h" #include "../gui-line.h" @@ -1365,7 +1364,7 @@ gui_window_switch_to_buffer (struct t_gui_window *window, window->buffer->lines->last_read_line = window->buffer->lines->last_line; } - gui_input_move_to_buffer (old_buffer, window->buffer); + gui_buffer_input_move_to_buffer (old_buffer, window->buffer); if (old_buffer != buffer) { @@ -1407,7 +1406,7 @@ gui_window_switch (struct t_gui_window *window) old_window->refresh_needed = 1; - gui_input_move_to_buffer (old_window->buffer, window->buffer); + gui_buffer_input_move_to_buffer (old_window->buffer, window->buffer); (void) hook_signal_send ("window_switch", WEECHAT_HOOK_SIGNAL_POINTER, gui_current_window); |