]> git.sur5r.net Git - i3/i3/commit
Bugfix: Use both parts of WM_CLASS (it contains instance and class) (Thanks fallen)
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 12 Feb 2010 11:12:25 +0000 (12:12 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 12 Feb 2010 11:12:25 +0000 (12:12 +0100)
commit0b6b8e8380b8026ba834436f4ae4de47ff07feda
tree96437dc085f9b66b51b587de7f47a68b51630bc2
parent9568836e12ee69cedc9ab341a5a326875d995439
Bugfix: Use both parts of WM_CLASS (it contains instance and class) (Thanks fallen)

Actually, WM_CLASS contains two null-terminated strings, so we cannot
use asprintf() to get its value but rather use strdup() to get both
of them. Both values are compared when a client is matched against
a wm_class/title combination (for assignments for example).
include/data.h
src/client.c
src/handlers.c
src/util.c