chore: remove the gaurd against large paddings
This commit is contained in:
parent
e8caf335b3
commit
057e7b72cc
2 changed files with 3 additions and 11 deletions
|
|
@ -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| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue