From 37feb7d6a31d65a26d59d6be493be52f2c3d5a24 Mon Sep 17 00:00:00 2001 From: Nikos Tsipinakis Date: Sat, 8 Aug 2020 19:11:13 +0300 Subject: [PATCH] Fix history_ignore rule being reset Set the default history_ignore value to -1 for unset, otherwise it'll be reset to false when applying additional rules. Fixes #747 --- src/rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules.c b/src/rules.c index bb9fd91..b7f185c 100644 --- a/src/rules.c +++ b/src/rules.c @@ -78,7 +78,7 @@ struct rule *rule_new(void) r->urgency = URG_NONE; r->fullscreen = FS_NULL; r->markup = MARKUP_NULL; - r->history_ignore = false; + r->history_ignore = -1; r->match_transient = -1; r->set_transient = -1; r->skip_display = -1;