naughty: Don't use the cache when loading icons (FS#1253)
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
c2fff5396d
commit
76ab008b3e
|
@ -409,7 +409,7 @@ function naughty.notify(args)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- is the icon file readable?
|
-- is the icon file readable?
|
||||||
local success, res = pcall(function() return surface.load(icon) end)
|
local success, res = pcall(function() return surface.load_uncached(icon) end)
|
||||||
if success then
|
if success then
|
||||||
icon = res
|
icon = res
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue