Skip to content

Commit 7d32783

Browse files
committed
options: warn when dual-kawase blur is chosen on unsupported backends
Closes #464 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
1 parent 670b4ab commit 7d32783

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/options.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,11 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
953953
"capping to 20.");
954954
opt->blur_strength = 20;
955955
}
956+
if (!opt->experimental_backends) {
957+
log_warn("Dual-kawase blur is not implemented by the legacy "
958+
"backends, you must use the `experimental-backends` "
959+
"option`.");
960+
}
956961
}
957962

958963
if (opt->resize_damage < 0) {

0 commit comments

Comments
 (0)