options: remove a spurious warning

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-07-26 02:44:33 +01:00
parent 04ae6934e1
commit 357968c815
2 changed files with 4 additions and 2 deletions

View File

@ -764,7 +764,7 @@ void get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
// --xrender-sync
log_warn("Please use --xrender-sync-fence instead of --xrender-sync");
opt->xrender_sync_fence = true;
break;
break;
P_CASEBOOL(313, xrender_sync_fence);
P_CASEBOOL(315, no_fading_destroyed_argb);
P_CASEBOOL(316, force_win_blend);
@ -800,7 +800,8 @@ void get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
setlocale(LC_NUMERIC, lc_numeric_old);
free(lc_numeric_old);
if (opt->monitor_repaint && opt->backend != BKEND_XRENDER) {
if (opt->monitor_repaint && opt->backend != BKEND_XRENDER &&
!opt->experimental_backends) {
log_warn("--monitor-repaint has no effect when backend is not xrender");
}