Skip to content

Commit

Permalink
rules: fix option name for unredir
Browse files Browse the repository at this point in the history
Should be "unredir", accidentally used the old name.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Aug 4, 2024
1 parent 32794bb commit 4777327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config_libconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ static c2_lptr_t *parse_rule(config_setting_t *setting, struct script ***out_scr
wopts->corner_radius = ival;
}

auto unredir_setting = config_setting_lookup(setting, "unredir-if-possible");
auto unredir_setting = config_setting_lookup(setting, "unredir");
if (unredir_setting) {
wopts->unredir = parse_unredir_option(unredir_setting);
}
Expand Down

0 comments on commit 4777327

Please sign in to comment.