Merge pull request #11 from OmegaRogue/master

Fix disabled smart borders reappearing on moving the client
This commit is contained in:
intrntbrn 2022-12-13 15:18:16 +01:00 committed by GitHub
commit 1cacf8cf9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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",