mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +00:00
issue #21 fix
This commit is contained in:
parent
f2edc43e28
commit
af3c8043aa
|
@ -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
|
if #clients > 0 then -- Fine grained borders and floaters control
|
||||||
for _, c in pairs(clients) do -- Floaters always have borders
|
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
|
c.border_width = beautiful.border_width
|
||||||
|
|
||||||
-- No borders with only one visible client
|
|
||||||
elseif #clients == 1 then
|
elseif #clients == 1 then
|
||||||
clients[1].border_width = 0
|
clients[1].border_width = 0
|
||||||
if layout ~= "max" then
|
if layout ~= "max" then
|
||||||
|
|
Loading…
Reference in a new issue