Add XkbcCanonicaliseComponents
authorDaniel Stone <daniel@fooishbar.org>
Sat, 25 Apr 2009 08:13:52 +0000 (18:13 +1000)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 22 Jun 2010 14:56:55 +0000 (15:56 +0100)
commit85b7f47d8a544dab204214de9c248f03e78261fe
tree0fc55e8288962d175edda197b7f47ee3cfadece6
parent8ffa371395ac0f3c3942d60dd63509c534c877c0
Add XkbcCanonicaliseComponents

Canonicalises two sets of components (new and old), e.g.:
new: +bar
old: foo
result: foo+bar

This is required as part of the spec, so clients can reuse part of the
device's old keymap.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
include/X11/extensions/XKBcommon.h
src/xkb.c