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:
Julien Danjou 2009-02-23 15:32:24 +01:00
parent 9554536db6
commit 8b79502302
1 changed files with 2 additions and 2 deletions

View File

@ -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