summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-02-10 13:34:09 +0200
committerRan Benita <ran234@gmail.com>2014-02-10 20:59:53 +0200
commit00c5e39e5fecf063101d4e4dc100ae3a39004bf0 (patch)
treeb1c7a9afcdad0c61022e6a3515751c33c6a0ff39
parent2e9bd5cc167e537b18b7ed32f9b95397c34ef030 (diff)
downloadxorg-lib-libxkbcommon-bug-74422.tar.gz
wip: context: add /etc/X11/xkb to default include pathbug-74422
Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r--src/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/context.c b/src/context.c
index e9c52eb..eca9e32 100644
--- a/src/context.c
+++ b/src/context.c
@@ -82,6 +82,8 @@ xkb_context_include_path_append_default(struct xkb_context *ctx)
ret |= xkb_context_include_path_append(ctx, DFLT_XKB_CONFIG_ROOT);
+ ret |= xkb_context_include_path_append(ctx, "/etc/X11/xkb");
+
home = secure_getenv("HOME");
if (!home)
return ret;