summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-05-08 17:52:45 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-05-08 17:52:45 +0100
commit2a0f1780f97077ffd2cff7683cb31b352b041944 (patch)
tree55f335df18815d14b4bb18edb313b7193f118d4e /include
parentc3584280092e251d572ada8d988cf0e46ae8e88f (diff)
downloadxorg-lib-libxkbcommon-2a0f1780f97077ffd2cff7683cb31b352b041944.tar.gz
Add context flag to inhibit default include paths
Which will make the context start with no include paths at all. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'include')
-rw-r--r--include/xkbcommon/xkbcommon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h
index 31570f2..0527143 100644
--- a/include/xkbcommon/xkbcommon.h
+++ b/include/xkbcommon/xkbcommon.h
@@ -194,8 +194,8 @@ 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,
+ /** Create this context with an empty include path. */
+ XKB_CONTEXT_NO_DEFAULT_INCLUDES = 1,
};
/**