mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
options: remove a spurious warning
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
04ae6934e1
commit
357968c815
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue