config: remove xrender-sync
Deprecated since v5 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
bcb1ef1654
commit
17831a7be3
|
@ -585,8 +585,8 @@ char *parse_config_libconfig(options_t *opt, const char *config_file, bool *shad
|
|||
}
|
||||
// --xrender-sync
|
||||
if (config_lookup_bool(&cfg, "xrender-sync", &ival) && ival) {
|
||||
log_warn("Please use xrender-sync-fence instead of xrender-sync.");
|
||||
opt->xrender_sync_fence = true;
|
||||
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);
|
||||
|
|
|
@ -787,9 +787,8 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
|
|||
P_CASEBOOL(311, vsync_use_glfinish);
|
||||
case 312:
|
||||
// --xrender-sync
|
||||
log_warn("Please use --xrender-sync-fence instead of --xrender-sync");
|
||||
opt->xrender_sync_fence = true;
|
||||
break;
|
||||
log_error("Please use --xrender-sync-fence instead of --xrender-sync");
|
||||
return false;
|
||||
P_CASEBOOL(313, xrender_sync_fence);
|
||||
P_CASEBOOL(315, no_fading_destroyed_argb);
|
||||
P_CASEBOOL(316, force_win_blend);
|
||||
|
|
Loading…
Reference in New Issue