naughty: fix CloseNotification argument usage

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Robert Lehmann 2009-12-01 14:13:52 +01:00 committed by Julien Danjou
parent b45fd1f530
commit 7ea3c35cc2
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ if capi.dbus then
end
return "u", "0"
elseif data.member == "CloseNotification" then
local obj = getById(arg1)
local obj = getById(appname)
if obj then
destroy(obj)
end