From 9f20a5263814f325035d3569768060e04c7dcb96 Mon Sep 17 00:00:00 2001 From: famfo <44938471+famfo@users.noreply.github.com> Date: Wed, 15 Feb 2023 01:19:02 +0000 Subject: 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 --- sway/tree/container.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/tree') 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; -- cgit v1.2.3