From a69b6123b8883fbf7c21eeadbf0068d2bf1d0520 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sat, 7 Mar 2020 20:36:21 -0500 Subject: [PATCH] naughty: Fix updating `naughty.widget.icon`. It was never call, untested and obviously broken... --- lib/naughty/widget/icon.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/naughty/widget/icon.lua b/lib/naughty/widget/icon.lua index 971fb84b2..4f6b3c615 100644 --- a/lib/naughty/widget/icon.lua +++ b/lib/naughty/widget/icon.lua @@ -153,10 +153,11 @@ local function new(args) gtable.crush(tb, icon, true) function tb._private.icon_changed_callback() + local icn = gsurface.load_silently(tb._private.notification.icon) if icn then - tb:set_image() + tb:set_image(icn) end end