From 075935fd3726c07a450ac7ad853b5b25a03bb8d8 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 19 Sep 2021 21:52:12 -0700 Subject: [PATCH] naughty: Do not call `request::display` when suspended. Fix #3396 --- lib/naughty/notification.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/naughty/notification.lua b/lib/naughty/notification.lua index 5ef46c318..980e123ba 100644 --- a/lib/naughty/notification.lua +++ b/lib/naughty/notification.lua @@ -1033,7 +1033,7 @@ local function create(args) end -- Let all listeners handle the actual visual aspects - if (not n.ignore) and ((not n.preset) or n.preset.ignore ~= true) then + if (not n.ignore) and ((not n.preset) or n.preset.ignore ~= true) and (not naughty.suspended) then naughty.emit_signal("request::display" , n, "new", args) naughty.emit_signal("request::fallback", n, "new", args) end