Removed rounding from position correction in uselesstile

This commit is contained in:
Josh Timmer 2015-09-17 15:32:55 -04:00
parent 8153bfc1e3
commit ea61804194
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ end
local function size_correction(c, geometry, useless_gap) local function size_correction(c, geometry, useless_gap)
geometry.width = math.max(geometry.width - 2 * c.border_width - useless_gap, 1) 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.height = math.max(geometry.height - 2 * c.border_width - useless_gap, 1)
geometry.x = math.floor(geometry.x + useless_gap / 2) geometry.x = geometry.x + useless_gap / 2
geometry.y = math.floor(geometry.y + useless_gap / 2) geometry.y = geometry.y + useless_gap / 2
end end
-- Check size factor for group of clients and calculate total -- Check size factor for group of clients and calculate total