1
0
Fork 0
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:
Yuxuan Shui 2024-01-14 17:04:03 +00:00
parent 6d4eaec811
commit 5e119123a7
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4
2 changed files with 4 additions and 2 deletions

View file

@ -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);

View file

@ -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