X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/75a68eda59b3d748334c28c91a362948b3fd81e3..89bad3b56b7a76318113f3831b74c156044aa34b:/layout/centerfair.lua?ds=sidebyside diff --git a/layout/centerfair.lua b/layout/centerfair.lua index 67462f7..1e8915d 100644 --- a/layout/centerfair.lua +++ b/layout/centerfair.lua @@ -90,7 +90,7 @@ function centerfair.arrange(p) -- Master client deserves a special treatement local g = {} - g.width = wa.width - (num_x - 1) * width - num_x * 2*useless_gap - 2 + g.width = wa.width - (num_x - 1) * width - num_x * 2*useless_gap - 2 g.height = wa.height - 2*useless_gap - 2 g.x = offset_x + useless_gap + global_border g.y = offset_y + global_border