Commit aeed57d7 authored by Povilas Kanapickas's avatar Povilas Kanapickas
Browse files

xkb: Fix parsing of XkbSA_DeviceValuator action type

The xkb spec defines that the 7th element of the DeviceValuator key
action description is "valuator 2 value".

This error most likely was accidentally introduced as a copy-paste error
in edeb033f

.
Signed-off-by: Povilas Kanapickas's avatarPovilas Kanapickas <povilas@radix.lt>
parent a3931ec6
......@@ -532,7 +532,7 @@ ReadXkmCompatMap(FILE * file, XkbDescPtr xkb, XkbChangesPtr changes)
act->devval.v1_value = wire.actionData[3];
act->devval.v2_what = wire.actionData[4];
act->devval.v2_ndx = wire.actionData[5];
act->devval.v2_what = wire.actionData[6];
act->devval.v2_value = wire.actionData[6];
break;
case XkbSA_XFree86Private:
......
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