X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/63066fba60b919f51c0e66ac27a31201a166ef31..69ddbc74a59ead7b3c140d42d94cb39d574284fa:/layout/uselesstile.lua 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