property: fix index
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
d7454f4307
commit
367b3e03d5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue