initialize rules and xkb_rules

to fix compile errors with `-pedantic`
This commit is contained in:
Leonardo Hernández Hernández 2022-03-31 09:31:01 -06:00
parent 2d6f932ecf
commit ae31391115
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
1 changed files with 2 additions and 1 deletions

View File

@ -13,8 +13,8 @@ static const Rule rules[] = {
/* app_id title tags mask isfloating monitor */ /* app_id title tags mask isfloating monitor */
/* examples: /* examples:
{ "Gimp", NULL, 0, 1, -1 }, { "Gimp", NULL, 0, 1, -1 },
{ "firefox", NULL, 1 << 8, 0, -1 },
*/ */
{ "firefox", NULL, 1 << 8, 0, -1 },
}; };
/* layout(s) */ /* layout(s) */
@ -43,6 +43,7 @@ static const struct xkb_rule_names xkb_rules = {
/* example: /* example:
.options = "ctrl:nocaps", .options = "ctrl:nocaps",
*/ */
.options = "",
}; };
static const int repeat_rate = 25; static const int repeat_rate = 25;