Commit e27b2e61 authored by Peter Harris's avatar Peter Harris Committed by Peter Hutterer

xkb: Set nIndicators in XkbGetIndicatorMap

Xlib doesn't use this value (it computes it from the reply length
instead) which is why nobody has noticed yet. But the spec
says that it should be set.
Signed-off-by: Peter Harris's avatarPeter Harris <>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 3aac7a59
......@@ -3073,6 +3073,7 @@ XkbComputeGetIndicatorMapReplySize(XkbIndicatorPtr indicators,
rep->length = (nIndicators * SIZEOF(xkbIndicatorMapWireDesc)) / 4;
rep->nIndicators = nIndicators;
return Success;
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