]> 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 14:56:19 +0000 (15:56 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 12 Feb 2010 14:56:19 +0000 (15:56 +0100)
commit3d13d53ae725525c6b9dbb9d19add22dc9c4286c
tree91fd268df9b29bc35a68641065418c0d708823cc
parentf399c3ef9d0db8c95113b242e0c69498cf077669
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