summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-05-18 09:21:16 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-05-18 09:21:16 +0200
commit9a0eda2433e0bae9d7a3e5ca92a33f5bf86f8132 (patch)
treeb9e357b9a188aab347931a3c8775ca311d441aaa /src
parent1360489a054f9cdd6417b3721f70a51a23256649 (diff)
downloadweechat-9a0eda2433e0bae9d7a3e5ca92a33f5bf86f8132.zip
core: fix refresh of bar item "input_search" after buffer switch in root bars (closes #1939)
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-bar-item.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c
index 1391d6ece..6b6a05362 100644
--- a/src/gui/gui-bar-item.c
+++ b/src/gui/gui-bar-item.c
@@ -2212,7 +2212,8 @@ gui_bar_item_init ()
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_INPUT_SEARCH],
&gui_bar_item_input_search_cb, NULL, NULL);
- gui_bar_item_hook_signal ("window_switch;input_search;input_text_changed",
+ gui_bar_item_hook_signal ("window_switch;buffer_switch;input_search;"
+ "input_text_changed",
gui_bar_item_names[GUI_BAR_ITEM_INPUT_SEARCH]);
/* input text */