Skip to content

Commit 4777327

Browse files
committed
rules: fix option name for unredir
Should be "unredir", accidentally used the old name. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
1 parent 32794bb commit 4777327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config_libconfig.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ static c2_lptr_t *parse_rule(config_setting_t *setting, struct script ***out_scr
622622
wopts->corner_radius = ival;
623623
}
624624

625-
auto unredir_setting = config_setting_lookup(setting, "unredir-if-possible");
625+
auto unredir_setting = config_setting_lookup(setting, "unredir");
626626
if (unredir_setting) {
627627
wopts->unredir = parse_unredir_option(unredir_setting);
628628
}

0 commit comments

Comments
 (0)