diff --git a/lib/naughty/core.lua b/lib/naughty/core.lua index 764afe204..0939afa73 100644 --- a/lib/naughty/core.lua +++ b/lib/naughty/core.lua @@ -666,8 +666,8 @@ function naughty.notify(args) notification.box:set_widget(completelayout) -- Setup the mouse events - layout:buttons(util.table.join(button({ }, 1, run), - button({ }, 3, function() + layout:buttons(util.table.join(button({}, 1, nil, run), + button({}, 3, nil, function() die(naughty.notificationClosedReason.dismissedByUser) end)))