diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index 6d5cc42fe..e5af83be4 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -142,7 +142,7 @@ pkg_check_modules(AWESOME_REQUIRED REQUIRED xcb-aux>=0.3.0 xcb-atom>=0.3.0 xcb-keysyms>=0.3.0 - xcb-icccm>=0.3.0 + xcb-icccm>=0.3.3 xcb-image>=0.3.0 xcb-property>=0.3.0 cairo-xcb diff --git a/client.c b/client.c index feeefcd53..4d3f5c92a 100644 --- a/client.c +++ b/client.c @@ -1649,7 +1649,7 @@ luaA_client_index(lua_State *L) 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: @@ -1657,7 +1657,7 @@ luaA_client_index(lua_State *L) 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: