Commit 3c4a8da1 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Keyboard.c: use 'variant' all over the place

avoid mix of 'variant' and 'variants'
parent d0d6c1bd
...@@ -746,7 +746,7 @@ XkbError: ...@@ -746,7 +746,7 @@ XkbError:
#ifdef XKB #ifdef XKB
} else { /* if (noXkbExtension) */ } else { /* if (noXkbExtension) */
XkbComponentNamesRec names = {0}; XkbComponentNamesRec names = {0};
char *rules = NULL, *variants = NULL, *options = NULL; /* use xkb default */ char *rules = NULL, *variant = NULL, *options = NULL; /* use xkb default */
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentKeyboardProc: Using XKB extension.\n"); fprintf(stderr, "nxagentKeyboardProc: Using XKB extension.\n");
...@@ -864,11 +864,11 @@ XkbError: ...@@ -864,11 +864,11 @@ XkbError:
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "nxagentKeyboardProc: Going to set rules and init device: " fprintf(stderr, "nxagentKeyboardProc: Going to set rules and init device: "
"[rules='%s',model='%s',layout='%s',variants='%s',options='%s'].\n", "[rules='%s',model='%s',layout='%s',variant='%s',options='%s'].\n",
rules, model, layout, variants, options); rules, model, layout, variant, options);
#endif #endif
XkbSetRulesDflts(rules, model, layout, variants, options); XkbSetRulesDflts(rules, model, layout, variant, options);
XkbInitKeyboardDeviceStruct((void *)pDev, &names, &keySyms, modmap, XkbInitKeyboardDeviceStruct((void *)pDev, &names, &keySyms, modmap,
nxagentBell, nxagentChangeKeyboardControl); nxagentBell, nxagentChangeKeyboardControl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment