X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/0ffc8fe4e5f1ef79c4d22e5bcbcd1bf7234df539..ada3be2c9a398b4a044e016eccf747be6a4fa718:/layout/centerfair.lua diff --git a/layout/centerfair.lua b/layout/centerfair.lua index 01a2fe0..e2ecb33 100644 --- a/layout/centerfair.lua +++ b/layout/centerfair.lua @@ -95,7 +95,10 @@ function centerfair.arrange(p) g.height = wa.height - 2*useless_gap - 2 g.x = offset_x + useless_gap + global_border g.y = offset_y + global_border - cls[1]:geometry(g) + + if cls[1] then + cls[1]:geometry(g) + end -- Treat the other clients