From 234a3c6bf9ccda3670af1495c9a6ab4b16b0f07b Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Mon, 8 Jan 2024 21:43:46 +0000 Subject: [PATCH] floating: Fix broken size check --- src/shell/layout/floating/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/layout/floating/mod.rs b/src/shell/layout/floating/mod.rs index 886fb20e..5565c1cf 100644 --- a/src/shell/layout/floating/mod.rs +++ b/src/shell/layout/floating/mod.rs @@ -333,7 +333,7 @@ impl FloatingLayout { geometry.loc.x = offset; // do we need to resize? if geometry.loc.y as i32 + win_geo.size.h - <= output_geometry.loc.y + output_geometry.size.h - 16 + > output_geometry.loc.y + output_geometry.size.h - 16 { win_geo.size.h = (output_geometry.loc.y + output_geometry.size.h - 16)