diff options
author | Ran Benita <ran234@gmail.com> | 2014-02-10 12:24:50 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-02-10 12:26:40 +0200 |
commit | 043eda874df935c4554e328064beca8e35dc2306 (patch) | |
tree | c662d1474adacae003dd2c848bd85f9c1d6746b8 /src | |
parent | 16aab829bbf55bfb8363d6339d8bd8a0aad1f93b (diff) | |
download | libxkbcommon-043eda874df935c4554e328064beca8e35dc2306.tar.gz libxkbcommon-043eda874df935c4554e328064beca8e35dc2306.tar.bz2 libxkbcommon-043eda874df935c4554e328064beca8e35dc2306.zip |
context: fix wrong VARIANT instead of LAYOUT getenv
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/context-priv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context-priv.c b/src/context-priv.c index 9b81c36..999ece9 100644 --- a/src/context-priv.c +++ b/src/context-priv.c @@ -149,7 +149,7 @@ const char * xkb_context_get_default_variant(struct xkb_context *ctx) { const char *env = NULL; - const char *layout = secure_getenv("XKB_DEFAULT_VARIANT"); + const char *layout = secure_getenv("XKB_DEFAULT_LAYOUT"); /* We don't want to inherit the variant if they haven't also set a * layout, since they're so closely paired. */ |