Fix interactive notifications: use uint32 instead of int32
Fixes https://github.com/awesomeWM/awesome/issues/259. Closes https://github.com/awesomeWM/awesome/pull/261.
This commit is contained in:
parent
76fc6b3306
commit
3fe663fc60
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue