From 5048251d055eecf2e2fefc0ea086af860d4da850 Mon Sep 17 00:00:00 2001 From: elenapan Date: Tue, 29 Oct 2019 08:23:38 +0200 Subject: [PATCH] Fixed errors appearing when anti aliasing was disabled Former-commit-id: 997650801a7f6a60b1c1753f40e5f610669a1b2c Former-commit-id: 5c1df1ac3c5ead603156ad0f2cae2d0a005b7795 Former-commit-id: a9a2258aef1634fba63a10b03e4f2ab163f4a2cd Former-commit-id: c28ddd310b1ad07dc3f4bfdf2bb3e59e589aa27f --- config/awesome/titlebars.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/awesome/titlebars.lua b/config/awesome/titlebars.lua index 09488bd..fef29ce 100644 --- a/config/awesome/titlebars.lua +++ b/config/awesome/titlebars.lua @@ -388,8 +388,8 @@ client.connect_signal("request::titlebars", function(c) -- end -- Save these here in order to avoid re-evaluating them multiple times - local equal_padding = wants_equal_padding(c) - local only_borders = wants_only_borders(c) + local equal_padding = user.anti_aliasing and wants_equal_padding(c) + local only_borders = user.anti_aliasing and wants_only_borders(c) -- Top titlebar local titlebar_container = wibox.widget {