Merge pull request #11 from OmegaRogue/master
Fix disabled smart borders reappearing on moving the client
This commit is contained in:
commit
1cacf8cf9b
4
init.lua
4
init.lua
|
@ -659,6 +659,10 @@ local function new(config)
|
||||||
end
|
end
|
||||||
|
|
||||||
local smart_border_titlebars = function(c)
|
local smart_border_titlebars = function(c)
|
||||||
|
if c.disable_smart_borders then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local border_bg = wibox.widget.base.make_widget_declarative({
|
local border_bg = wibox.widget.base.make_widget_declarative({
|
||||||
{ widget = wibox.container.margin },
|
{ widget = wibox.container.margin },
|
||||||
id = "border_bg",
|
id = "border_bg",
|
||||||
|
|
Loading…
Reference in New Issue