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
945c6c6223
commit
88643eb0cc
|
@ -409,7 +409,7 @@ function naughty.notify(args)
|
|||
end
|
||||
|
||||
-- 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
|
||||
icon = res
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue