summaryrefslogtreecommitdiff
path: root/src/context-priv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/context-priv.c')
-rw-r--r--src/context-priv.c2
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. */