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:
Luca Capezzuto 2019-04-14 16:13:33 +01:00
parent fdf3d70470
commit db3003aa48
No known key found for this signature in database
GPG key ID: EDCFE1C5B0CD8FB5
2 changed files with 4 additions and 4 deletions

2
lain

@ -1 +1 @@
Subproject commit 013654cd1af4bb69f31c1c641cdb24bd8b7c58df Subproject commit 85db468376ff1d554127df1f0335c8a2f8c8c2be

View file

@ -742,11 +742,11 @@ client.connect_signal("mouse::enter", function(c)
c:emit_signal("request::activate", "mouse_enter", {raise = true}) c:emit_signal("request::activate", "mouse_enter", {raise = true})
end) end)
-- No border for maximized clients -- No borders if only 1 non floating or maximised client visible
function border_adjust(c) function border_adjust(c)
if c.maximized then -- no borders if only 1 client visible if c.maximized or c.floating and #c.screen.clients == 1 then
c.border_width = 0 c.border_width = 0
elseif #awful.screen.focused().clients > 1 then elseif #c.screen.clients > 1 then
c.border_width = beautiful.border_width c.border_width = beautiful.border_width
c.border_color = beautiful.border_focus c.border_color = beautiful.border_focus
end end