config: remove the --paint-on-overlay option
Deprecated since v4 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -594,9 +594,11 @@ char *parse_config_libconfig(options_t *opt, const char *config_file, bool *shad
|
||||
if (lcfg_lookup_bool(&cfg, "clear-shadow", &bval))
|
||||
log_warn("\"clear-shadow\" is removed as an option, and is always"
|
||||
" enabled now. Consider removing it from your config file");
|
||||
if (lcfg_lookup_bool(&cfg, "paint-on-overlay", &bval))
|
||||
log_warn("\"paint-on-overlay\" has been removed as an option, and "
|
||||
"is enabled whenever possible");
|
||||
if (lcfg_lookup_bool(&cfg, "paint-on-overlay", &bval)) {
|
||||
log_error("\"paint-on-overlay\" has been removed as an option, and "
|
||||
"the feature is enabled whenever possible");
|
||||
goto err;
|
||||
}
|
||||
|
||||
if (config_lookup_float(&cfg, "alpha-step", &dval)) {
|
||||
log_error("\"alpha-step\" has been removed, compton now tries to make use"
|
||||
|
@ -650,9 +650,9 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
||||
return false;
|
||||
case 272: log_warn("use of --dbe is deprecated"); break;
|
||||
case 273:
|
||||
log_warn("--paint-on-overlay has been removed, and is enabled "
|
||||
"when possible");
|
||||
break;
|
||||
log_error("--paint-on-overlay has been removed, the feature is enabled "
|
||||
"whenever possible");
|
||||
return false;
|
||||
P_CASEBOOL(274, sw_opti);
|
||||
case 275:
|
||||
// --vsync-aggressive
|
||||
|
Reference in New Issue
Block a user