From fca5a4b42ce68ee44e8051238bc352578f0cedef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 16 Aug 2020 12:40:41 +0200 Subject: [PATCH] core: set notify_level to 3 if highlight is forced in gui_line_hook_update (only if tag "notify_none" is not in the line) (issue #1529) --- src/gui/gui-line.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c index 34ba65af8..f10904857 100644 --- a/src/gui/gui-line.c +++ b/src/gui/gui-line.c @@ -1570,6 +1570,12 @@ gui_line_hook_update (struct t_gui_line *line, line->data->notify_level = GUI_HOTLIST_HIGHLIGHT; } } + + if (!notify_level_updated && highlight_updated && line->data->highlight + && (line->data->notify_level >= 0)) + { + line->data->notify_level = GUI_HOTLIST_HIGHLIGHT; + } } /*