From 828eefed79d40dd3a28b482f36bd42be760a7463 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 5 Aug 2017 16:07:47 +0200 Subject: [PATCH] awful.tooltip: border: do not default to border_width (#1955) Several themes use `dpi(2)` which is quite thick, and it is better to use the default of 0 here, instead of `beautiful.border_width`, which is meant for borders on clients. --- lib/awful/tooltip.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/awful/tooltip.lua b/lib/awful/tooltip.lua index 74a03b6f..5f1d1c5f 100644 --- a/lib/awful/tooltip.lua +++ b/lib/awful/tooltip.lua @@ -146,8 +146,7 @@ local function apply_shape(self) -- Draw the border (multiply by 2, then mask the inner part to save a path) local bw = (self._private.border_width - or beautiful.tooltip_border_width - or beautiful.border_width or 0) * 2 + or beautiful.tooltip_border_width or 0) * 2 -- Fix anti-aliasing if bw > 2 and awesome.composite_manager_running then