Merge pull request #193 from PixelDoted/master_jammy

Fixes floating window resizing after being moved
This commit is contained in:
Victoria Brekenfeld 2023-10-06 21:04:02 +02:00 committed by GitHub
commit c32b8d3cb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,8 +104,7 @@ impl FloatingLayout {
if let Some(size) = last_geometry.map(|g| g.size) {
win_geo.size = size;
}
{
} else {
let (min_size, max_size) = (
mapped.min_size().unwrap_or((0, 0).into()),
mapped.max_size().unwrap_or((0, 0).into()),