--- awesome-3.1.2/client.c~ 2009-02-05 15:39:52.000000000 +0100 +++ awesome-3.1.2/client.c 2009-02-24 19:02:04.000000000 +0100 @@ -1455,7 +1455,7 @@ xcb_get_wm_class_unchecked(globalconf.connection, (*c)->win), &hint, NULL)) return 0; - lua_pushstring(L, hint.class); + lua_pushstring(L, hint.class_name); xcb_get_wm_class_reply_wipe(&hint); break; case A_TK_INSTANCE: @@ -1463,7 +1463,7 @@ xcb_get_wm_class_unchecked(globalconf.connection, (*c)->win), &hint, NULL)) return 0; - lua_pushstring(L, hint.name); + lua_pushstring(L, hint.instance_name); xcb_get_wm_class_reply_wipe(&hint); break; case A_TK_ROLE: