naughty: mouse: only react on release events
Fixes https://github.com/awesomeWM/awesome/issues/1445.
This commit is contained in:
parent
5a914b3496
commit
dd339fd62a
|
@ -666,8 +666,8 @@ function naughty.notify(args)
|
||||||
notification.box:set_widget(completelayout)
|
notification.box:set_widget(completelayout)
|
||||||
|
|
||||||
-- Setup the mouse events
|
-- Setup the mouse events
|
||||||
layout:buttons(util.table.join(button({ }, 1, run),
|
layout:buttons(util.table.join(button({}, 1, nil, run),
|
||||||
button({ }, 3, function()
|
button({}, 3, nil, function()
|
||||||
die(naughty.notificationClosedReason.dismissedByUser)
|
die(naughty.notificationClosedReason.dismissedByUser)
|
||||||
end)))
|
end)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue