diff --git a/lib/naughty/dbus.lua b/lib/naughty/dbus.lua index b41aa7788..8c91261f2 100644 --- a/lib/naughty/dbus.lua +++ b/lib/naughty/dbus.lua @@ -69,6 +69,9 @@ local function sendNotificationClosed(notificationId, reason) if reason <= 0 then reason = cst.notification_closed_reason.undefined end + if reason == cst.notification_closed_reason.dismissed_by_user then + sendActionInvoked(notificationId, "default") + end if bus_connection then bus_connection:emit_signal(nil, "/org/freedesktop/Notifications", "org.freedesktop.Notifications", "NotificationClosed",