summaryrefslogtreecommitdiff
path: root/sway/desktop/layer_shell.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/desktop/layer_shell.c
parent6f6991a1b38b03e87fd3f73607ca2393ae62cfea (diff)
Add layer effect option to ignore transparent regions when blurring (#159)
Diffstat (limited to 'sway/desktop/layer_shell.c')
-rw-r--r--sway/desktop/layer_shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c
index 8a828dc6..d0d56755 100644
--- a/sway/desktop/layer_shell.c
+++ b/sway/desktop/layer_shell.c
@@ -711,6 +711,7 @@ void handle_layer_shell_surface(struct wl_listener *listener, void *data) {
layer_surface->data = sway_layer;
sway_layer->has_blur = false;
+ sway_layer->blur_ignore_transparent = false;
sway_layer->has_shadow = false;
sway_layer->corner_radius = 0;