Skip to content

Commit

Permalink
rules: set default window dim correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Sep 2, 2024
1 parent 57e9704 commit 4f14390
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Unreleased

## Bug fixes

* Windows become completely black when `rules` and `inactive-dim` are set at the same time.

# v12-rc3 (2024-Aug-30)

## Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion src/picom.c
Original file line number Diff line number Diff line change
Expand Up @@ -2000,7 +2000,7 @@ static struct window_options win_options_from_config(const struct options *opts)
.shadow = opts->shadow_enable,
.corner_radius = (unsigned)opts->corner_radius,
.transparent_clipping = opts->transparent_clipping,
.dim = opts->inactive_dim > 0,
.dim = 0,
.fade = opts->fading_enable,
.shader = opts->window_shader_fg,
.invert_color = false,
Expand Down

0 comments on commit 4f14390

Please sign in to comment.