mirror of
https://github.com/yshui/picom.git
synced 2025-03-24 17:26:22 -04:00
config_libconfig: fix parsing of unredir
in window rules
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
6a2b6eeba6
commit
c9361d3cbb
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ static enum window_unredir_option parse_unredir_option(config_setting_t *setting
|
|||
return WINDOW_UNREDIR_INVALID;
|
||||
}
|
||||
if (strcmp(sval, "yes") == 0 || strcmp(sval, "true") == 0 ||
|
||||
strcmp(sval, "default") == 0 || strcmp(sval, "when-possible-else-terminate")) {
|
||||
strcmp(sval, "default") == 0 || strcmp(sval, "when-possible-else-terminate") == 0) {
|
||||
return WINDOW_UNREDIR_WHEN_POSSIBLE_ELSE_TERMINATE;
|
||||
}
|
||||
if (strcmp(sval, "preferred") == 0 || strcmp(sval, "when-possible") == 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue