Merge pull request #3635 from merrickluo/expose-svg-taglist-icon

pass tag icon directly to imagebox

fix #3634
This commit is contained in:
Aire-One 2022-06-18 12:36:08 +02:00 committed by GitHub
commit 710bbfa68d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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