property: fix index

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-07-28 14:11:16 +02:00
parent d7454f4307
commit 367b3e03d5
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ property_handle_net_wm_icon(void *data,
if(c)
{
client_push(globalconf.L, c);
luaA_object_unref_item(globalconf.L, 1, c->icon);
luaA_object_unref_item(globalconf.L, -1, c->icon);
if(ewmh_window_icon_from_reply(reply))
c->icon = luaA_object_ref_item(globalconf.L, -2, -1);
else