From: Josh Timmer <0ohexxo0@gmail.com> Date: Thu, 17 Sep 2015 19:38:44 +0000 (-0400) Subject: Merged with upstream X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/06621e5bdd737749cda8adf1c84d72a2ba468475?hp=5e8b6394ff09c3cf0b7f7d6bf61a2174efe87359 Merged with upstream --- 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