mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
Remove error messages for --dbe and --paint-on-overlay
Deprecated since v4. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
f8424646a5
commit
03dc98d47d
3 changed files with 1 additions and 18 deletions
|
@ -184,7 +184,7 @@ typedef struct session {
|
|||
int root_width;
|
||||
// Damage of root window.
|
||||
// Damage root_damage;
|
||||
/// X Composite overlay window. Used if <code>--paint-on-overlay</code>.
|
||||
/// X Composite overlay window.
|
||||
xcb_window_t overlay;
|
||||
/// The target window for debug mode
|
||||
xcb_window_t debug_window;
|
||||
|
|
|
@ -624,11 +624,6 @@ 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_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"
|
||||
|
|
|
@ -167,9 +167,6 @@ static void usage(const char *argv0, int ret) {
|
|||
"--vsync\n"
|
||||
" Enable VSync\n"
|
||||
"\n"
|
||||
"--paint-on-overlay\n"
|
||||
" Painting on X Composite overlay window.\n"
|
||||
"\n"
|
||||
"--use-ewmh-active-win\n"
|
||||
" Use _NET_WM_ACTIVE_WINDOW on the root window to determine which\n"
|
||||
" window is focused instead of using FocusIn/Out events.\n"
|
||||
|
@ -394,8 +391,6 @@ static const struct option longopts[] = {
|
|||
{"refresh-rate", required_argument, NULL, 269},
|
||||
{"vsync", optional_argument, NULL, 270},
|
||||
{"alpha-step", required_argument, NULL, 271},
|
||||
{"dbe", no_argument, NULL, 272},
|
||||
{"paint-on-overlay", no_argument, NULL, 273},
|
||||
{"sw-opti", no_argument, NULL, 274},
|
||||
{"vsync-aggressive", no_argument, NULL, 275},
|
||||
{"use-ewmh-active-win", no_argument, NULL, 276},
|
||||
|
@ -678,13 +673,6 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
|||
log_error("--alpha-step has been removed, we now tries to "
|
||||
"make use of all alpha values");
|
||||
failed = true; break;
|
||||
case 272:
|
||||
log_error("--dbe has been removed");
|
||||
failed = true; break;
|
||||
case 273:
|
||||
log_error("--paint-on-overlay has been removed, the feature is enabled "
|
||||
"whenever possible");
|
||||
failed = true; break;
|
||||
case 274:
|
||||
log_warn("--sw-opti has been deprecated, please remove it from the "
|
||||
"command line options");
|
||||
|
|
Loading…
Reference in a new issue