Skip to content

Commit

Permalink
options: warn when dual-kawase blur is chosen on unsupported backends
Browse files Browse the repository at this point in the history
Closes #464

Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Sep 8, 2020
1 parent 670b4ab commit 7d32783
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,11 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
"capping to 20.");
opt->blur_strength = 20;
}
if (!opt->experimental_backends) {
log_warn("Dual-kawase blur is not implemented by the legacy "
"backends, you must use the `experimental-backends` "
"option`.");
}
}

if (opt->resize_damage < 0) {
Expand Down

0 comments on commit 7d32783

Please sign in to comment.