mirror of https://github.com/yshui/picom.git
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
|
@ -184,7 +184,7 @@ typedef struct session {
|
||||||
int root_width;
|
int root_width;
|
||||||
// Damage of root window.
|
// Damage of root window.
|
||||||
// Damage root_damage;
|
// Damage root_damage;
|
||||||
/// X Composite overlay window. Used if <code>--paint-on-overlay</code>.
|
/// X Composite overlay window.
|
||||||
xcb_window_t overlay;
|
xcb_window_t overlay;
|
||||||
/// The target window for debug mode
|
/// The target window for debug mode
|
||||||
xcb_window_t debug_window;
|
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))
|
if (lcfg_lookup_bool(&cfg, "clear-shadow", &bval))
|
||||||
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 (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)) {
|
if (config_lookup_float(&cfg, "alpha-step", &dval)) {
|
||||||
log_error("\"alpha-step\" has been removed, compton now tries to make use"
|
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"
|
"--vsync\n"
|
||||||
" Enable VSync\n"
|
" Enable VSync\n"
|
||||||
"\n"
|
"\n"
|
||||||
"--paint-on-overlay\n"
|
|
||||||
" Painting on X Composite overlay window.\n"
|
|
||||||
"\n"
|
|
||||||
"--use-ewmh-active-win\n"
|
"--use-ewmh-active-win\n"
|
||||||
" Use _NET_WM_ACTIVE_WINDOW on the root window to determine which\n"
|
" Use _NET_WM_ACTIVE_WINDOW on the root window to determine which\n"
|
||||||
" window is focused instead of using FocusIn/Out events.\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},
|
{"refresh-rate", required_argument, NULL, 269},
|
||||||
{"vsync", optional_argument, NULL, 270},
|
{"vsync", optional_argument, NULL, 270},
|
||||||
{"alpha-step", required_argument, NULL, 271},
|
{"alpha-step", required_argument, NULL, 271},
|
||||||
{"dbe", no_argument, NULL, 272},
|
|
||||||
{"paint-on-overlay", no_argument, NULL, 273},
|
|
||||||
{"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},
|
||||||
|
@ -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 "
|
log_error("--alpha-step has been removed, we now tries to "
|
||||||
"make use of all alpha values");
|
"make use of all alpha values");
|
||||||
failed = true; break;
|
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:
|
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