mirror of
https://github.com/yshui/picom.git
synced 2025-02-24 16:06:42 -05:00
options: use of sw-opti is now an error
Deprecated in v6, we forgot to remove it. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
6d4eaec811
commit
5e119123a7
2 changed files with 4 additions and 2 deletions
|
@ -478,7 +478,8 @@ char *parse_config_libconfig(options_t *opt, const char *config_file, bool *shad
|
|||
}
|
||||
// --sw-opti
|
||||
if (lcfg_lookup_bool(&cfg, "sw-opti", &bval)) {
|
||||
log_warn("The sw-opti %s", deprecation_message);
|
||||
log_error("The sw-opti %s", deprecation_message);
|
||||
goto err;
|
||||
}
|
||||
// --use-ewmh-active-win
|
||||
lcfg_lookup_bool(&cfg, "use-ewmh-active-win", &opt->use_ewmh_active_win);
|
||||
|
|
|
@ -510,8 +510,9 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
|||
"--crop-shadow-to-monitor instead.");
|
||||
break;
|
||||
case 274:
|
||||
log_warn("--sw-opti has been deprecated, please remove it from the "
|
||||
log_error("--sw-opti has been deprecated, please remove it from the "
|
||||
"command line options");
|
||||
failed = true;
|
||||
break;
|
||||
case 275:
|
||||
// --vsync-aggressive
|
||||
|
|
Loading…
Add table
Reference in a new issue