options: remove a spurious warning
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
		| @ -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; | ||||
|  | ||||
| @ -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"); | ||||
| 	} | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Yuxuan Shui
					Yuxuan Shui