xkbcomp: vmod: Don't get and immediately intern atoms
authorDaniel Stone <daniel@fooishbar.org>
Tue, 15 Jun 2010 14:14:58 +0000 (15:14 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 22 Jun 2010 14:56:55 +0000 (15:56 +0100)
commitd20bdd3b9add0eae367dd666fba06378c195d687
tree845c1f03c5387da72db89cf7ae8f4e994434f430
parent50a037cacf75b106a2ee31680fb4588a8873a262
xkbcomp: vmod: Don't get and immediately intern atoms

XkbcInternAtom(XkbcAtomGetString(atom)) has to be the most spectacularly
broken antipattern I've yet seen.  Just compare the atoms directly.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/vmod.c