mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
issue #22 fix attempt
This commit is contained in:
parent
a1d506eff5
commit
f2edc43e28
|
@ -697,9 +697,11 @@ for s = 1, screen.count() do screen[s]:connect_signal("arrange", function ()
|
|||
c.border_width = beautiful.border_width
|
||||
|
||||
-- No borders with only one visible client
|
||||
elseif #clients == 1 or layout == "max" then
|
||||
elseif #clients == 1 then
|
||||
clients[1].border_width = 0
|
||||
awful.client.moveresize(0, 0, 2, 2, clients[1])
|
||||
if layout ~= "max" then
|
||||
awful.client.moveresize(0, 0, 2, 0, clients[1])
|
||||
end
|
||||
else
|
||||
c.border_width = beautiful.border_width
|
||||
end
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 182 KiB After Width: | Height: | Size: 99 KiB |
Loading…
Reference in a new issue