#261 fix
This commit is contained in:
parent
fdf3d70470
commit
db3003aa48
2
lain
2
lain
|
@ -1 +1 @@
|
|||
Subproject commit 013654cd1af4bb69f31c1c641cdb24bd8b7c58df
|
||||
Subproject commit 85db468376ff1d554127df1f0335c8a2f8c8c2be
|
|
@ -742,11 +742,11 @@ client.connect_signal("mouse::enter", function(c)
|
|||
c:emit_signal("request::activate", "mouse_enter", {raise = true})
|
||||
end)
|
||||
|
||||
-- No border for maximized clients
|
||||
-- No borders if only 1 non floating or maximised client visible
|
||||
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
|
||||
elseif #awful.screen.focused().clients > 1 then
|
||||
elseif #c.screen.clients > 1 then
|
||||
c.border_width = beautiful.border_width
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue