mirror of
https://github.com/yshui/picom.git
synced 2025-04-14 17:53:25 -04:00
Merge pull request #1162 from yshui/deprecations-11
This commit is contained in:
commit
a73ca2dc8d
4 changed files with 14 additions and 8 deletions
|
@ -1,3 +1,10 @@
|
|||
# Unreleased
|
||||
|
||||
## Deprecations
|
||||
|
||||
* Uses of `--sw-opti`, and `--respect-prop-shadow` are now hard errors.
|
||||
* `-F` has been removed completely. It was deprecated before the picom fork.
|
||||
|
||||
# v11-rc1 (2024-Jan-14)
|
||||
|
||||
## Notable features
|
||||
|
|
|
@ -49,9 +49,6 @@ OPTIONS
|
|||
*-f*, *--fading*::
|
||||
Fade windows in/out when opening/closing and when opacity changes, unless *--no-fading-openclose* is used.
|
||||
|
||||
*-F*::
|
||||
Equals to *-f*. Deprecated.
|
||||
|
||||
*-i*, *--inactive-opacity*='OPACITY'::
|
||||
Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -306,7 +306,7 @@ static void usage(const char *argv0, int ret) {
|
|||
}
|
||||
}
|
||||
|
||||
static const char *shortopts = "D:I:O:r:o:m:l:t:i:e:hscnfFCazGb";
|
||||
static const char *shortopts = "D:I:O:r:o:m:l:t:i:e:hscnfCazGb";
|
||||
|
||||
/// Get config options that are needed to parse the rest of the options
|
||||
/// Return true if we should quit
|
||||
|
@ -426,7 +426,6 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
|||
opt->wintype_option[WINTYPE_DROPDOWN_MENU].opacity = tmp;
|
||||
break;
|
||||
case 'f':
|
||||
case 'F':
|
||||
fading_enable = true;
|
||||
break;
|
||||
P_CASEINT('r', shadow_radius);
|
||||
|
@ -511,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
|
||||
|
@ -523,9 +523,10 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
|||
P_CASEBOOL(276, use_ewmh_active_win);
|
||||
case 277:
|
||||
// --respect-prop-shadow
|
||||
log_warn("--respect-prop-shadow option has been deprecated, its "
|
||||
log_error("--respect-prop-shadow option has been deprecated, its "
|
||||
"functionality will always be enabled. Please remove it "
|
||||
"from the command line options");
|
||||
failed = true;
|
||||
break;
|
||||
P_CASEBOOL(278, unredir_if_possible);
|
||||
case 279:
|
||||
|
|
Loading…
Add table
Reference in a new issue