aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-10-16 11:43:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-03-02 08:39:09 +0000
commitdea10e2e48162c6ab48ca564ceeca88dea886a04 (patch)
tree04f41254ed11545b45565ae413e6839006490d71 /meson.build
parentSpawning new terminal with --config from parent instance (diff)
Add support for background blur
This patch adds a new config option: colors{,2}.blur=no|yes. When enabled, transparent background are also blurred. Note that this requires the brand new ext-background-effect-v1 protocol, and specifically, that the compositor implements the blur effect.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index aa8342ab..b7377652 100644
--- a/meson.build
+++ b/meson.build
@@ -188,6 +188,10 @@ if (wayland_protocols.version().version_compare('>=1.43'))
wl_proto_xml += [wayland_protocols_datadir / 'staging/xdg-toplevel-tag/xdg-toplevel-tag-v1.xml']
add_project_arguments('-DHAVE_XDG_TOPLEVEL_TAG=1', language: 'c')
endif
+if (wayland_protocols.version().version_compare('>=1.45'))
+ wl_proto_xml += [wayland_protocols_datadir / 'staging/ext-background-effect/ext-background-effect-v1.xml']
+ add_project_arguments('-DHAVE_EXT_BACKGROUND_EFFECT=1', language: 'c')
+endif
foreach prot : wl_proto_xml
wl_proto_headers += custom_target(