chore: remove the gaurd against large paddings

This commit is contained in:
Hojjat 2026-09-03 11:51:49 -06:00 • committed by Ashley Wulber
parent e8caf335b3
commit 057e7b72cc
2 changed files with 3 additions and 11 deletions

View file

@ -899,8 +899,7 @@ where
let geometry = geometry.to_local(output).as_logical();
let padded = with_states(layer.wl_surface(), |states| {
surface_padding(states, geometry.size)
.and_then(|padding| pad_rect(geometry, &padding))
surface_padding(states).and_then(|padding| pad_rect(geometry, &padding))
})
.unwrap_or(geometry);
let radii = with_states(layer.wl_surface(), |states| {