allow activity_hide_targets to hide activity in itemless windows

This commit is contained in:
vague666 2018-10-27 20:51:29 +02:00
commit f7966d9c08
2 changed files with 4 additions and 2 deletions

View file

@ -86,7 +86,7 @@ static void sig_hilight_text(TEXT_DEST_REC *dest, const char *msg)
DATA_LEVEL_MSG : DATA_LEVEL_TEXT;
}
if (hide_targets != NULL && (dest->level & MSGLEVEL_HILIGHT) == 0 && dest->target != NULL) {
if (hide_targets != NULL && (dest->level & MSGLEVEL_HILIGHT) == 0) {
/* check for both target and tag/target */
if (strarray_find_dest(hide_targets, dest))
return;