From dd339fd62a835e1f5899ff73a1d8837b9cbf1c27 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 24 Jan 2017 00:37:43 +0100 Subject: [PATCH] naughty: mouse: only react on release events Fixes https://github.com/awesomeWM/awesome/issues/1445. --- lib/naughty/core.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/naughty/core.lua b/lib/naughty/core.lua index 764afe20..0939afa7 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)))