From c1d25cd70d37d2768bc51e623396985e6a3d4740 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Fri, 15 Oct 2021 19:43:58 -0700 Subject: [PATCH] doc: Improve the `awful` template client widget. It was incorrectly sized. --- tests/examples/awful/template.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/examples/awful/template.lua b/tests/examples/awful/template.lua index 1a20a8b3..4db97c3a 100644 --- a/tests/examples/awful/template.lua +++ b/tests/examples/awful/template.lua @@ -156,12 +156,13 @@ local function client_widget(c, col, label) }, layout = wibox.layout.stack }, - border_width = bw, - border_color = bc, - shape_clip = true, - fg = beautiful.fg_normal or "#000000", - bg = col, - shape = function(cr2, w, h) + border_width = bw, + border_color = bc, + shape_clip = true, + border_strategy = "inner", + fg = beautiful.fg_normal or "#000000", + bg = col, + shape = function(cr2, w, h) return shape.rounded_rect(cr2, w, h, args.radius or 5) end,