pass tag icon directly to imagebox

so that svg icons can be rendered with rsvg
This commit is contained in:
A.I 2022-06-17 23:17:50 +08:00
parent 3a542219f3
commit c3c41bed2f
No known key found for this signature in database
GPG Key ID: 0D51E9047F3074BF
1 changed files with 1 additions and 2 deletions

View File

@ -49,7 +49,6 @@ local common = require("awful.widget.common")
local tag = require("awful.tag")
local beautiful = require("beautiful")
local fixed = require("wibox.layout.fixed")
local surface = require("gears.surface")
local timer = require("gears.timer")
local gcolor = require("gears.color")
local gstring = require("gears.string")
@ -372,7 +371,7 @@ function taglist.taglist_label(t, args)
end
if not taglist_disable_icon then
if t.icon then
icon = surface.load(t.icon)
icon = t.icon
end
end