Don't set xkblayout from wscons setting if specified in xorg.conf.
Problem noticed, and patch provided by Mike Belopuhov. Thanks.
This commit is contained in:
parent
2cda6f76a0
commit
7cfab8f596
@ -499,6 +499,8 @@ OpenKeyboard(InputInfoPtr pInfo)
|
||||
* XkbLayout has been specified. Do this even if the protocol is
|
||||
* not wskbd.
|
||||
*/
|
||||
if (xf86findOption(pInfo->options, "XkbLayout") != NULL)
|
||||
return TRUE;
|
||||
|
||||
if (ioctl(pInfo->fd, WSKBDIO_GETENCODING, &wsenc) == -1) {
|
||||
/* Ignore the error, we just use the defaults */
|
||||
|
Loading…
Reference in New Issue
Block a user