property: fix class/instance mixup

Without this patch c.class shows the instance and vice versa.

Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
koniu 2009-08-24 22:02:46 +01:00 committed by Julien Danjou
parent 2f1691e8db
commit 9d15c36b33
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ property_update_wm_class(client_t *c, xcb_get_property_reply_t *reply)
}
luaA_object_push(globalconf.L, c);
client_set_class_instance(globalconf.L, -1, hint.instance_name, hint.class_name);
client_set_class_instance(globalconf.L, -1, hint.class_name, hint.instance_name);
lua_pop(globalconf.L, 1);
/* only delete reply if we get it ourselves */