Remove error message for --xrender-sync
Deprecated in v5. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@@ -613,11 +613,6 @@ char *parse_config_libconfig(options_t *opt, const char *config_file, bool *shad
|
||||
"from your config file");
|
||||
goto err;
|
||||
}
|
||||
// --xrender-sync
|
||||
if (config_lookup_bool(&cfg, "xrender-sync", &ival) && ival) {
|
||||
log_error("Please use xrender-sync-fence instead of xrender-sync.");
|
||||
goto err;
|
||||
}
|
||||
// --xrender-sync-fence
|
||||
lcfg_lookup_bool(&cfg, "xrender-sync-fence", &opt->xrender_sync_fence);
|
||||
|
||||
|
||||
@@ -426,7 +426,6 @@ static const struct option longopts[] = {
|
||||
{"unredir-if-possible-delay", required_argument, NULL, 309},
|
||||
{"write-pid-path", required_argument, NULL, 310},
|
||||
{"vsync-use-glfinish", no_argument, NULL, 311},
|
||||
{"xrender-sync", no_argument, NULL, 312},
|
||||
{"xrender-sync-fence", no_argument, NULL, 313},
|
||||
{"show-all-xerrors", no_argument, NULL, 314},
|
||||
{"no-fading-destroyed-argb", no_argument, NULL, 315},
|
||||
@@ -795,10 +794,6 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
||||
}
|
||||
break;
|
||||
P_CASEBOOL(311, vsync_use_glfinish);
|
||||
case 312:
|
||||
// --xrender-sync
|
||||
log_error("Please use --xrender-sync-fence instead of --xrender-sync");
|
||||
failed = true; break;
|
||||
P_CASEBOOL(313, xrender_sync_fence);
|
||||
P_CASEBOOL(315, no_fading_destroyed_argb);
|
||||
P_CASEBOOL(316, force_win_blend);
|
||||
|
||||
Reference in New Issue
Block a user