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 ce5b460f24
commit fcee5fb828
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,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