From 367b3e03d5cdff29cc4090d47b148f901e3b30f4 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 28 Jul 2009 14:11:16 +0200 Subject: [PATCH] property: fix index Signed-off-by: Julien Danjou --- property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/property.c b/property.c index 5a41de7e..a59faa46 100644 --- a/property.c +++ b/property.c @@ -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