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
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
2 changed files with 4 additions and 2 deletions

View File

@ -461,6 +461,7 @@ static bool image_op(backend_t *base, enum image_operations op, void *image,
return true;
}
// TODO: use copy-on-write
static void *copy(backend_t *base, const void *image, const region_t *reg) {
const struct _xrender_image_data *img = image;
struct _xrender_data *xd = (void *)base;

View File

@ -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");
}