naughty: return unsigned
Actually, libnotify expect an unsigned for the id, not a signed integer. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9554536db6
commit
8b79502302
|
@ -430,9 +430,9 @@ if awful.hooks.dbus then
|
|||
args.timeout = expire / 1000
|
||||
end
|
||||
local id = notify(args).id
|
||||
return "i", id
|
||||
return "u", id
|
||||
end
|
||||
return "i", "0"
|
||||
return "u", "0"
|
||||
elseif data.member == "CloseNotification" then
|
||||
local obj = getById(arg1)
|
||||
if obj then
|
||||
|
|
Loading…
Reference in New Issue