1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00
This commit is contained in:
luke bonham 2013-11-05 12:20:23 +01:00
parent f2edc43e28
commit af3c8043aa

View file

@ -693,10 +693,11 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
if #clients > 0 then -- Fine grained borders and floaters control
for _, c in pairs(clients) do -- Floaters always have borders
if awful.client.floating.get(c) or layout == "floating" then
-- No borders with only one humanly visible client
if layout == "max" then
c.border_width = 0
elseif awful.client.floating.get(c) or layout == "floating" then
c.border_width = beautiful.border_width
-- No borders with only one visible client
elseif #clients == 1 then
clients[1].border_width = 0
if layout ~= "max" then