Since window titles are so much more volatile than the WM_CLASS elements, most window managers match the latter rather than the former.
Moreover, as described by #117 (which I plan to fix in a future PR), several clients, especially old school ones such as Xterm, Xfontsel, Xmessage etc. do not respond to the ewmh functions so they were impossible to match.
I just noticed I inadvertently kept wtitle as the name of the variable. It should be wise to change it — say, to wclass or classreply — since it does not contain a title anymore. Sorry for the oversight.
Since window titles are so much more volatile than the
WM_CLASS
elements, most window managers match the latter rather than the former.Moreover, as described by #117 (which I plan to fix in a future PR), several clients, especially old school ones such as Xterm, Xfontsel, Xmessage etc. do not respond to the ewmh functions so they were impossible to match.