Commit 6e7d1678ba05981724d2771f38d1a476e74f6239

Daniel Stone 2012-07-13T00:40:25

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>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/xkbcomp/symbols.c b/src/xkbcomp/symbols.c
index 6e633e2..bf2c5ed 100644
--- a/src/xkbcomp/symbols.c
+++ b/src/xkbcomp/symbols.c
@@ -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,