Skip to content

Commit

Permalink
Merge pull request #1095 from absolutelynothelix/resize-factor
Browse files Browse the repository at this point in the history
  • Loading branch information
yshui authored Jul 6, 2023
2 parents 4a39423 + e8477e0 commit 961dc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void paint_all_new(session_t *ps, struct managed_win *t) {
// TODO(yshui): maybe we don't need to resize reg_damage, only reg_paint?
int resize_factor = 1;
if (t) {
resize_factor = t->stacking_rank;
resize_factor = t->stacking_rank + 1;
}
resize_region_in_place(&reg_damage, blur_width * resize_factor,
blur_height * resize_factor);
Expand Down

0 comments on commit 961dc99

Please sign in to comment.