mirror of https://github.com/yshui/picom.git
Remove error message for --alpha-step
Deprecated since v5. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
03dc98d47d
commit
d17c915acd
|
@ -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"
|
log_warn("\"clear-shadow\" is removed as an option, and is always"
|
||||||
" enabled now. Consider removing it from your config file");
|
" 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 =
|
const char *deprecation_message attr_unused =
|
||||||
"has been removed. If you encounter problems "
|
"has been removed. If you encounter problems "
|
||||||
"without this feature, please feel free to open a bug report";
|
"without this feature, please feel free to open a bug report";
|
||||||
|
|
|
@ -390,7 +390,6 @@ static const struct option longopts[] = {
|
||||||
{"detect-client-opacity", no_argument, NULL, 268},
|
{"detect-client-opacity", no_argument, NULL, 268},
|
||||||
{"refresh-rate", required_argument, NULL, 269},
|
{"refresh-rate", required_argument, NULL, 269},
|
||||||
{"vsync", optional_argument, NULL, 270},
|
{"vsync", optional_argument, NULL, 270},
|
||||||
{"alpha-step", required_argument, NULL, 271},
|
|
||||||
{"sw-opti", no_argument, NULL, 274},
|
{"sw-opti", no_argument, NULL, 274},
|
||||||
{"vsync-aggressive", no_argument, NULL, 275},
|
{"vsync-aggressive", no_argument, NULL, 275},
|
||||||
{"use-ewmh-active-win", no_argument, NULL, 276},
|
{"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;
|
opt->vsync = true;
|
||||||
}
|
}
|
||||||
break;
|
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:
|
case 274:
|
||||||
log_warn("--sw-opti has been deprecated, please remove it from the "
|
log_warn("--sw-opti has been deprecated, please remove it from the "
|
||||||
"command line options");
|
"command line options");
|
||||||
|
|
Loading…
Reference in New Issue