Remove error message for --alpha-step

Deprecated since v5.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2022-01-24 18:20:42 +00:00
parent 03dc98d47d
commit d17c915acd
No known key found for this signature in database
GPG Key ID: D3A4405BE6CC17F4
2 changed files with 0 additions and 12 deletions

View File

@ -625,12 +625,6 @@ char *parse_config_libconfig(options_t *opt, const char *config_file, bool *shad
log_warn("\"clear-shadow\" is removed as an option, and is always"
" enabled now. Consider removing it from your config file");
if (config_lookup_float(&cfg, "alpha-step", &dval)) {
log_error("\"alpha-step\" has been removed, compton now tries to make use"
" of all alpha values");
goto err;
}
const char *deprecation_message attr_unused =
"has been removed. If you encounter problems "
"without this feature, please feel free to open a bug report";

View File

@ -390,7 +390,6 @@ static const struct option longopts[] = {
{"detect-client-opacity", no_argument, NULL, 268},
{"refresh-rate", required_argument, NULL, 269},
{"vsync", optional_argument, NULL, 270},
{"alpha-step", required_argument, NULL, 271},
{"sw-opti", no_argument, NULL, 274},
{"vsync-aggressive", no_argument, NULL, 275},
{"use-ewmh-active-win", no_argument, NULL, 276},
@ -668,11 +667,6 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
opt->vsync = true;
}
break;
case 271:
// --alpha-step
log_error("--alpha-step has been removed, we now tries to "
"make use of all alpha values");
failed = true; break;
case 274:
log_warn("--sw-opti has been deprecated, please remove it from the "
"command line options");