compat: get rid of BindIndicators
authorRan Benita <ran234@gmail.com>
Mon, 27 Aug 2012 10:21:03 +0000 (13:21 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 1 Sep 2012 07:59:47 +0000 (10:59 +0300)
commit7f75502f1844831a330b06c9ba0639465ff36bdf
treeb3d47955e14397cabbe1f4fc776e0004a9b3ee32
parent02de2a3e74c1f842052fd889a8f8d54214510660
compat: get rid of BindIndicators

Now that 1fba6189e67 removed support for binding indicator maps by index
instead of name, we can remove some more magic which happens now: if an
indicator map specifies an indicator name which was not previously
declared in a 'indicator 5 = "Caps Lock"'-like statement in
xkb_keycodes, we can just look at the next free index and assign it.

This also allows us to use a darray for the LEDInfo's instead of a list.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/compat.c