summaryrefslogtreecommitdiff
path: root/sway/config.c
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/config.c
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/config.c')
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index 98141266..54bddda2 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -336,7 +336,7 @@ static void config_defaults(struct sway_config *config) {
// SwayFX defaults
config->corner_radius = 0;
config->smart_corner_radius = true;
- config->dim_inactive = 0.0f;
+ config->default_dim_inactive = 0.0f;
color_to_rgba(config->dim_inactive_colors.unfocused, 0x000000FF);
color_to_rgba(config->dim_inactive_colors.urgent, 0x900000FF);
config->shadow_enabled = false;