summaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorfamfo <[email protected]>2023-02-15 01:19:02 +0000
committerGitHub <[email protected]>2023-02-14 20:19:02 -0500
commit9f20a5263814f325035d3569768060e04c7dcb96 (patch)
treefc95512b91dd6f4cde541495ea8bea442ad8c041 /sway/tree
parente78fc3364b0440ff82becbec4ae57458374a145f (diff)
Implement for_window support for dim_inactive (#109)
* Implement for_window support for dim_inactive * Update file names, add check if the container is null, add docs * Fix typo * Update meson.build * Update commands.c * Update render.c * Update container.c * Update render.c * Update container.h
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 9de6c551..d22dadd5 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -42,6 +42,7 @@ struct sway_container *container_create(struct sway_view *view) {
c->view = view;
c->alpha = 1.0f;
c->saturation = 1.0f;
+ c->dim = config->default_dim_inactive;
c->shadow_enabled = config->shadow_enabled;
c->corner_radius = config->corner_radius;