Fixed dim_inactive default value being set to 1.0f (#69)

This commit is contained in:
Erik Reider 2022-12-09 15:14:20 +01:00 committed by GitHub
parent 988fb24710
commit 2f3e039029
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -327,7 +327,7 @@ static void config_defaults(struct sway_config *config) {
// SwayFX defaults // SwayFX defaults
config->corner_radius = 0; config->corner_radius = 0;
config->dim_inactive = 1.0f; config->dim_inactive = 0.0f;
color_to_rgba(config->dim_inactive_colors.unfocused, 0x000000FF); color_to_rgba(config->dim_inactive_colors.unfocused, 0x000000FF);
color_to_rgba(config->dim_inactive_colors.urgent, 0x900000FF); color_to_rgba(config->dim_inactive_colors.urgent, 0x900000FF);