From ea618041941e4107dd14af7103e87912305615a9 Mon Sep 17 00:00:00 2001 From: Josh Timmer <0ohexxo0@gmail.com> Date: Thu, 17 Sep 2015 15:32:55 -0400 Subject: [PATCH] Removed rounding from position correction in uselesstile --- layout/uselesstile.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/uselesstile.lua b/layout/uselesstile.lua index c769d58..ee33060 100644 --- a/layout/uselesstile.lua +++ b/layout/uselesstile.lua @@ -55,8 +55,8 @@ end local function size_correction(c, geometry, useless_gap) geometry.width = math.max(geometry.width - 2 * c.border_width - useless_gap, 1) geometry.height = math.max(geometry.height - 2 * c.border_width - useless_gap, 1) - geometry.x = math.floor(geometry.x + useless_gap / 2) - geometry.y = math.floor(geometry.y + useless_gap / 2) + geometry.x = geometry.x + useless_gap / 2 + geometry.y = geometry.y + useless_gap / 2 end -- Check size factor for group of clients and calculate total -- 2.39.5