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
This commit is contained in:
Nikos Tsipinakis 2020-08-08 19:11:13 +03:00
parent 28c5074fab
commit 37feb7d6a3

View File

@ -78,7 +78,7 @@ struct rule *rule_new(void)
r->urgency = URG_NONE; r->urgency = URG_NONE;
r->fullscreen = FS_NULL; r->fullscreen = FS_NULL;
r->markup = MARKUP_NULL; r->markup = MARKUP_NULL;
r->history_ignore = false; r->history_ignore = -1;
r->match_transient = -1; r->match_transient = -1;
r->set_transient = -1; r->set_transient = -1;
r->skip_display = -1; r->skip_display = -1;