From 330d7d50d23c790443e66c1910ed604ea9b9b7dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 16 Aug 2020 12:40:01 +0200 Subject: core: set notify_level to 3 in case of highlight in gui_line_hook_update only if tag "notify_none" is not in the line (issue #1529) --- src/gui/gui-line.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c index d38d955eb..34ba65af8 100644 --- a/src/gui/gui-line.c +++ b/src/gui/gui-line.c @@ -1564,8 +1564,11 @@ gui_line_hook_update (struct t_gui_line *line, if ((tags_updated || notify_level_updated) && !highlight_updated) { gui_line_set_highlight (line, max_notify_level); - if (line->data->highlight && !notify_level_updated) + if (line->data->highlight && !notify_level_updated + && (line->data->notify_level >= 0)) + { line->data->notify_level = GUI_HOTLIST_HIGHLIGHT; + } } } -- cgit v1.2.3