types: remove default type
authorRan Benita <ran234@gmail.com>
Tue, 7 Aug 2012 10:23:44 +0000 (13:23 +0300)
committerRan Benita <ran234@gmail.com>
Wed, 8 Aug 2012 07:03:37 +0000 (10:03 +0300)
commit262bf97f9bfeed535d94034cf5ded9dac962ffaa
treecb7e37fe83477f00991d321759355b8fe4f9f072
parentd327d3e27be2f5d4119fe491a4d23f8bb2f5759b
types: remove default type

The default type is copied over for each new key type to build on.
Further, it can be modified from within the xkb_types section itself,
with statements such as "type.modifiers = Lock" which affect all
subsequent type definitions.

The default type is (well, by default) just the simplest one level type
possible, with name "default". When no types are defined at all, it is
copied over to the keymap as the single type.

xkeyboard-config never changes the default type. There is also no sane
use case for doing so; changing any thing there doesn't make sense. So
instead of doing all the hard work of maintaining and copying this type,
which is practically never used, just remove it and initialize new types
appropriately.

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