summaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorErik Reider <[email protected]>2023-09-21 03:35:49 +0200
committerGitHub <[email protected]>2023-09-20 21:35:49 -0400
commitd89c365106b8d58e4a37ad58e9987a7da28c8951 (patch)
treee51fb83ee93d7544e23dbe65edb19c163894c30a /sway/ipc-json.c
parent6f6991a1b38b03e87fd3f73607ca2393ae62cfea (diff)
Add layer effect option to ignore transparent regions when blurring (#159)
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 673a941a..2ae09457 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -377,6 +377,10 @@ static void ipc_json_describe_enabled_output(struct sway_output *output,
if (lsurface->has_blur) {
json_object_array_add(effects, json_object_new_string("blur"));
}
+ if (lsurface->blur_ignore_transparent) {
+ json_object_array_add(effects,
+ json_object_new_string("blur_ignore_transparent"));
+ }
if (lsurface->has_shadow) {
json_object_array_add(effects, json_object_new_string("shadows"));
}