From 3fe663fc60bbc52cc99950a7bb6367fdfa4708a8 Mon Sep 17 00:00:00 2001 From: jaysonwillson Date: Sat, 13 Jun 2015 18:33:24 +0300 Subject: [PATCH] Fix interactive notifications: use uint32 instead of int32 Fixes https://github.com/awesomeWM/awesome/issues/259. Closes https://github.com/awesomeWM/awesome/pull/261. --- lib/naughty/dbus.lua.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/naughty/dbus.lua.in b/lib/naughty/dbus.lua.in index 2a91393c..cb271f92 100644 --- a/lib/naughty/dbus.lua.in +++ b/lib/naughty/dbus.lua.in @@ -52,7 +52,7 @@ local function sendActionInvoked(notificationId, action) if capi.dbus then capi.dbus.emit_signal("session", "/org/freedesktop/Notifications", "org.freedesktop.Notifications", "ActionInvoked", - "i", notificationId, + "u", notificationId, "s", action) end end @@ -61,8 +61,8 @@ local function sendNotificationClosed(notificationId, reason) if capi.dbus then capi.dbus.emit_signal("session", "/org/freedesktop/Notifications", "org.freedesktop.Notifications", "NotificationClosed", - "i", notificationId, - "i", reason) + "u", notificationId, + "u", reason) end end