summaryrefslogtreecommitdiff
path: root/xserver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2011-07-04 20:27:58 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2011-07-04 20:27:58 +0000
commit9a9ff73579ebb67c47506a7caf28fb1723801447 (patch)
tree272fd124536ae2241c559d93956b8684406f41a0 /xserver
parent18ca4e6e50f22a677ecd4f27d985da64ac1bcf03 (diff)
A wscons keyboard type of zaurus should map to an XKB model of zaurus
Diffstat (limited to 'xserver')
-rw-r--r--xserver/config/wscons.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/xserver/config/wscons.c b/xserver/config/wscons.c
index 5da90f6e3..927b66056 100644
--- a/xserver/config/wscons.c
+++ b/xserver/config/wscons.c
@@ -71,7 +71,7 @@ struct nameint kbdopt[] = {
{ 0 }
};
-struct nameint kbdtype[] = {
+struct nameint kbdmodel[] = {
{ WSKBD_TYPE_ZAURUS, "zaurus" },
{ 0 }
};
@@ -154,11 +154,11 @@ wscons_add_keyboard(void)
add_option(&options, "xkb_options", kbdopt[i].name);
break;
}
- for (i = 0; kbdtype[i].val; i++)
- if (type == kbdtype[i].val) {
- LogMessageVerb(X_INFO, 3, "wskbd: using type %s\n",
- kbdtype[i].name);
- add_option(&options, "xkb_type", kbdtype[i].name);
+ for (i = 0; kbdmodel[i].val; i++)
+ if (type == kbdmodel[i].val) {
+ LogMessageVerb(X_INFO, 3, "wskbd: using model %s\n",
+ kbdmodel[i].name);
+ add_option(&options, "xkb_model", kbdmodel[i].name);
break;
}