FindAutomaticType: Add FIXME

It doesn't play well with multiple keysyms per level right now.  But
that's OK, because no-one really uses them.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
master
Daniel Stone 2012-07-13 00:40:25 +01:00
parent 3640e14d9e
commit 6e7d1678ba
1 changed files with 4 additions and 0 deletions

View File

@ -1652,6 +1652,10 @@ FindNamedType(struct xkb_keymap *keymap, xkb_atom_t atom, unsigned *type_rtrn)
* @param typeNameRtrn Set to the Atom of the type name.
*
* @returns true if a type could be found, false otherwise.
*
* FIXME: I need to take the KeyInfo so I can look at symsMapIndex and
* all that fun stuff rather than just assuming there's always one
* symbol per level.
*/
static bool
FindAutomaticType(struct xkb_keymap *keymap, int width,