diff --git a/src/shell/element/surface.rs b/src/shell/element/surface.rs index 2bd72f25..4838bd61 100644 --- a/src/shell/element/surface.rs +++ b/src/shell/element/surface.rs @@ -204,10 +204,10 @@ impl CosmicSurface { let corners = guard.current().0?; Some([ - corners.bottom_right.min(half_min_dim), - corners.top_right.min(half_min_dim), - corners.bottom_left.min(half_min_dim), corners.top_left.min(half_min_dim), + corners.top_right.min(half_min_dim), + corners.bottom_right.min(half_min_dim), + corners.bottom_left.min(half_min_dim), ]) }) })