From 935da05be4441dab683f371723eab903fe3014e3 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sat, 11 Dec 2021 09:32:04 -0800 Subject: [PATCH] layoutlist: Sanitize the color when building Pango strings. This was aready done in the `tasklist` and `taglist`. --- lib/awful/widget/layoutlist.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/awful/widget/layoutlist.lua b/lib/awful/widget/layoutlist.lua index d61030f3e..2fffe2bbf 100644 --- a/lib/awful/widget/layoutlist.lua +++ b/lib/awful/widget/layoutlist.lua @@ -33,6 +33,7 @@ local gtable = require("gears.table") local beautiful= require("beautiful") local alayout = require("awful.layout") local surface = require("gears.surface") +local gcolor = require("gears.color") local module = {} @@ -84,7 +85,7 @@ local function wb_label(item, _, textbox) local text = "" if item.name then - text = ""..item.name..'' + text = ""..item.name..'' end return text, bg, nil, item.icon, {