From d99f8461ef32efb96b2dcbf8f011d899d36fd38a Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Fri, 5 Apr 2019 14:58:07 -0400 Subject: [PATCH] naughty.legacy: Do not update the text if the notification has no widget If the notification has been created without a legacy widget, it would try to update some widgets that have never been created. --- lib/naughty/layout/legacy.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/naughty/layout/legacy.lua b/lib/naughty/layout/legacy.lua index e1162061c..07fdbaa19 100644 --- a/lib/naughty/layout/legacy.lua +++ b/lib/naughty/layout/legacy.lua @@ -241,10 +241,6 @@ local function set_escaped_text(self) if self.size_info then update_size(self) end end -naughty.connect_signal("property::text" ,set_escaped_text) -naughty.connect_signal("property::title",set_escaped_text) - - local function cleanup(self, _ --[[reason]], keep_visible) -- It is not a legacy notification if not self.box then return end