Skip to content

Commit

Permalink
Revert "Remove content.set_rounded_clip_bounds"
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 authored Jan 28, 2024
1 parent 6e50184 commit 96dffcc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Background/BackgroundManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,12 @@ public class Gala.BackgroundManager : Meta.BackgroundGroup {
content.background = background.background;

var monitor = display.get_monitor_geometry (monitor_index);
var rect = Graphene.Rect () {
origin = {monitor.x, monitor.y},
size = {monitor.width, monitor.height},
};

content.set_rounded_clip_bounds (rect);
content.rounded_clip_radius = Utils.scale_to_int (6, display.get_monitor_scale (monitor_index));

if (background_source.should_dim) {
Expand Down

0 comments on commit 96dffcc

Please sign in to comment.