summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--john.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/john.lua b/john.lua
index 08ce0b2..b9fec59 100644
--- a/john.lua
+++ b/john.lua
@@ -24,7 +24,7 @@ for ix,iname in ipairs(monitors) do
end
local leftover = total_width - W
print("mmm",total_width,W,leftover)
-local xoffs = math.floor(leftover/2)
+local xoffs = -math.floor(leftover/2)
for ix,iname in ipairs(monitors) do
print("doing",ix,iname,"at",xoffs)