summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--src/gui/gui-bar-item.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index f7ed6647e..54c8a6d0d 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -55,6 +55,7 @@ New features::
Bug fixes::
+ * core: fix refresh of bar item "input_search" after buffer switch in root bars (issue #1939)
* core: fix completion after newline in input (issue #1925)
* core: fix partial completion when the common prefix found is empty (issue #340)
* core: display a specific error when trying to bind a key without area in mouse context
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 */