From 2a2ce6e83ead5995c7852f0f6831817de05eb508 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 31 Jan 2009 16:03:06 +0100 Subject: [PATCH] client: switch to xcb-icccm 0.3.3 Signed-off-by: Julien Danjou --- awesomeConfig.cmake | 2 +- client.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: