From 8b79502302a7306b20c74171e7f1e14b31a94a80 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 23 Feb 2009 15:32:24 +0100 Subject: [PATCH] naughty: return unsigned Actually, libnotify expect an unsigned for the id, not a signed integer. Signed-off-by: Julien Danjou --- lib/naughty.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index ebd40b52e..3d34b44e5 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -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