diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-05-08 17:51:16 +0100 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-05-08 17:51:16 +0100 |
commit | c3584280092e251d572ada8d988cf0e46ae8e88f (patch) | |
tree | 352ed0e67a8ea1f8b6b56c71baafd393838aa17b /include | |
parent | b537b5524a238645167f370c73afa8686442463f (diff) | |
download | xorg-lib-libxkbcommon-c3584280092e251d572ada8d988cf0e46ae8e88f.tar.gz |
Add flags to context creation
None defined as yet, but why not.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/xkbcommon/xkbcommon.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h index ebb9aa4..31570f2 100644 --- a/include/xkbcommon/xkbcommon.h +++ b/include/xkbcommon/xkbcommon.h @@ -193,13 +193,18 @@ xkb_string_to_keysym(const char *s); * @{ */ +enum xkb_context_flags { + /** Apparently you can't have empty enums. What a drag. */ + XKB_CONTEXT_PLACEHOLDER = 0, +}; + /** * Returns a new XKB context, or NULL on failure. If successful, the caller * holds a reference on the context, and must free it when finished with * xkb_context_unref(). */ struct xkb_context * -xkb_context_new(void); +xkb_context_new(enum xkb_context_flags flags); /** * Appends a new entry to the include path used for keymap compilation. |