aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/awesome/files/patch-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/awesome/files/patch-client.c')
-rw-r--r--x11-wm/awesome/files/patch-client.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-wm/awesome/files/patch-client.c b/x11-wm/awesome/files/patch-client.c
new file mode 100644
index 000000000000..8ca7dcd25a5e
--- /dev/null
+++ b/x11-wm/awesome/files/patch-client.c
@@ -0,0 +1,20 @@
+--- client.c.orig 2009-01-08 12:04:44.000000000 +0200
++++ client.c 2009-01-31 21:03:28.000000000 +0200
+@@ -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: