diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2009-03-29 08:11:25 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2009-03-29 08:11:25 -0700 |
commit | e86b31ce923c3f9cb28d483e002234064b94c24b (patch) | |
tree | 5888c0401ee1ea3e6ca98ccfa6a8a892d34f4fad /include | |
parent | d43a7bf02fcda0a43112ee6a69a5d8e647dfe1a6 (diff) | |
download | libxkbcommon-e86b31ce923c3f9cb28d483e002234064b94c24b.tar.gz libxkbcommon-e86b31ce923c3f9cb28d483e002234064b94c24b.tar.bz2 libxkbcommon-e86b31ce923c3f9cb28d483e002234064b94c24b.zip |
Add XKBlib resizing functions
These were originally in XKBMalloc.c.
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/XKBcommon.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/X11/extensions/XKBcommon.h b/include/X11/extensions/XKBcommon.h index d023a5a..28ea338 100644 --- a/include/X11/extensions/XKBcommon.h +++ b/include/X11/extensions/XKBcommon.h @@ -112,6 +112,20 @@ XkbcCopyKeyType(XkbKeyTypePtr from, XkbKeyTypePtr into); extern int XkbcCopyKeyTypes(XkbKeyTypePtr from, XkbKeyTypePtr into, int num_types); +extern int +XkbcResizeKeyType(XkbcDescPtr xkb, int type_ndx, int map_count, + Bool want_preserve, int new_num_lvls); + +extern KeySym * +XkbcResizeKeySyms(XkbcDescPtr xkb, int key, int needed); + +extern int +XkbcChangeKeycodeRange(XkbcDescPtr xkb, int minKC, int maxKC, + XkbChangesPtr changes); + +extern XkbAction * +XkbcResizeKeyActions(XkbcDescPtr xkb, int key, int needed); + extern void XkbcFreeClientMap(XkbcDescPtr xkb, unsigned what, Bool freeMap); |