Don't parse nonsense Unicode/hex keycodes
authorDaniel Stone <daniel@fooishbar.org>
Tue, 3 Apr 2012 12:57:44 +0000 (13:57 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 3 Apr 2012 14:12:04 +0000 (15:12 +0100)
commit495d87b06d19380e22ca100b7e48a7c8ef5dea39
tree12c551ad2900c822ad6daf8a2d292858e96dd11d
parent151fb4fc6dfcecb1abef53bb02d51c6057998de9
Don't parse nonsense Unicode/hex keycodes

If a keysym was specified as "U1039andsomeextrastuffontheend", return
NoSymbol rather than 0x10001039; similarly, return NoSymbol for
"0xdeadbeefhitherehowsyourdaybeen" rather than 0xdeadbeef.

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