naughty: Don't use the cache when loading icons (FS#1253)

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2014-04-09 21:49:27 +02:00
parent 945c6c6223
commit 88643eb0cc
1 changed files with 1 additions and 1 deletions

View File

@ -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