From 9d15c36b330657eef6df2e9b443645f949c3383b Mon Sep 17 00:00:00 2001 From: koniu Date: Mon, 24 Aug 2009 22:02:46 +0100 Subject: [PATCH] property: fix class/instance mixup Without this patch c.class shows the instance and vice versa. Signed-off-by: koniu Signed-off-by: Julien Danjou --- property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/property.c b/property.c index d5a146569..591cbd20f 100644 --- a/property.c +++ b/property.c @@ -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 */