FindAutomaticType: Add FIXME
authorDaniel Stone <daniel@fooishbar.org>
Thu, 12 Jul 2012 23:40:25 +0000 (00:40 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Thu, 12 Jul 2012 23:40:25 +0000 (00:40 +0100)
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>
src/xkbcomp/symbols.c

index 6e633e2..bf2c5ed 100644 (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,